[packages]: net/freeswitch: Fixed sed expression for escaping replaced string in the 'real' sed command.

git-svn-id: svn://svn.openwrt.org/openwrt/packages@22158 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
cshore 2010-07-13 01:48:27 +00:00
parent 0b1143e1b7
commit 35bcdc3b0f

View File

@ -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() {