[packages]: net/freeswitch: Fixed sed expression for escaping replaced string in...
authorDaniel Dickinson <crazycshore@gmail.com>
Tue, 13 Jul 2010 01:48:27 +0000 (01:48 +0000)
committerDaniel Dickinson <crazycshore@gmail.com>
Tue, 13 Jul 2010 01:48:27 +0000 (01:48 +0000)
SVN-Revision: 22158

net/freeswitch/files/uci/extensions.sh

index 553824b39530b5a098f70d4ca8edf551fa3511d0..122bd85d4bbf5161933c9b8a2766abb43e3b84ce 100644 (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() {