From: Daniel Dickinson Date: Tue, 13 Jul 2010 01:48:27 +0000 (+0000) Subject: net/freeswitch: Fixed sed expression for escaping replaced string in the 'real' sed... X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=78e0bf6763b72a1c521514127e744c780d5888c8;p=openwrt%2Fsvn-archive%2Fpackages.git 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 553824b39..122bd85d4 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() {