1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-18 07:10:18 +02:00

fix shell escaping bug in append() function

git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4981 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2006-10-09 04:29:27 +00:00
parent c9ab557bc5
commit 6dfd012e68

View File

@ -25,7 +25,7 @@ append() {
local var="$1" local var="$1"
local value="$2" local value="$2"
local sep="${3:- }" local sep="${3:- }"
eval "export ${var}=\"\${${var}:+\${${var}}${value:+$sep}}$value\"" eval "export ${var}=\"\${${var}:+\${${var}}${value:+$sep}}\$value\""
} }
reset_cb() { reset_cb() {