From: Daniel Dickinson Date: Tue, 13 Jul 2010 01:48:27 +0000 (+0000) Subject: [packages]: net/freeswitch: Fixed sed expression for escaping replaced string in... X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=c4442b1ab77ef1fae4794ebe1fc3f013179abdd1;p=openwrt%2Fsvn-archive%2Farchive.git [packages]: net/freeswitch: Fixed sed expression for escaping replaced string in the 'real' sed command. SVN-Revision: 22158 --- diff --git a/net/freeswitch/files/uci/extensions.sh b/net/freeswitch/files/uci/extensions.sh index 553824b395..122bd85d4b 100644 --- a/net/freeswitch/files/uci/extensions.sh +++ b/net/freeswitch/files/uci/extensions.sh @@ -6,7 +6,7 @@ fs_escape_slash() { local inval="$1" [ -z "$inval" ] && return 0 - echo "$inval" | sed -e 's/([/\\$\^\[\]])/\\\1/g' + echo "$inval" | sed -e 's/\([/\\]\)/\\\1/g' } fs_ext_entry() {