[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:
parent
0b1143e1b7
commit
35bcdc3b0f
@ -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() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user