summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMichael Geddes <openwrt@frog.wheelycreek.net>2009-01-16 23:06:43 +0000
committerMichael Geddes <openwrt@frog.wheelycreek.net>2009-01-16 23:06:43 +0000
commitc07fb10541aa5929a38b2940e77947b997284179 (patch)
tree018e7e63e2dfa2b8025f34d022fc1c846d0c003f
parent6070e77fa4bbc46f95f7b0c4fffd5ece8defffd8 (diff)
Fix the split_append function so that codec modules are properly enabled.
-rwxr-xr-xcontrib/package/asterisk-xip/files/uci/asteriskuci4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/package/asterisk-xip/files/uci/asteriskuci b/contrib/package/asterisk-xip/files/uci/asteriskuci
index b948692d64..6f08dffd64 100755
--- a/contrib/package/asterisk-xip/files/uci/asteriskuci
+++ b/contrib/package/asterisk-xip/files/uci/asteriskuci
@@ -38,14 +38,14 @@ is_in_list(){
return 1
}
-split_append() {
+split_append() { # {list} {prefix} {item} {func call}
local lhs="$2"
local rhs="$3"
while [ ! -z "$rhs" ] ; do
cur=${rhs%%,*}
nvar=${rhs#*,}
- [ -z $4 ] || eval "$4 ${cur}"
+ [ -z "$5" ] || eval "$5 ${cur}"
append $1 "${lhs}${cur}" "$4"
[ "$nvar" == "$rhs" ] && break
rhs=${nvar}