diff options
author | Felix Fietkau <nbd@openwrt.org> | 2006-10-09 04:29:27 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2006-10-09 04:29:27 +0000 |
commit | d30dc59b745b1a3d0c455ef7fe388750abb5c9ab (patch) | |
tree | b36b3b42c41ac664a361682d229ad9d84fdea377 /package/base-files | |
parent | 4ec2bfc56e86bc6929da64706d129db1e39fb229 (diff) | |
download | upstream-d30dc59b745b1a3d0c455ef7fe388750abb5c9ab.tar.gz upstream-d30dc59b745b1a3d0c455ef7fe388750abb5c9ab.tar.bz2 upstream-d30dc59b745b1a3d0c455ef7fe388750abb5c9ab.zip |
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
Diffstat (limited to 'package/base-files')
-rwxr-xr-x | package/base-files/default/etc/functions.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/base-files/default/etc/functions.sh b/package/base-files/default/etc/functions.sh index ce22ed151c..2ce172eb35 100755 --- a/package/base-files/default/etc/functions.sh +++ b/package/base-files/default/etc/functions.sh @@ -25,7 +25,7 @@ append() { local var="$1" local value="$2" local sep="${3:- }" - eval "export ${var}=\"\${${var}:+\${${var}}${value:+$sep}}$value\"" + eval "export ${var}=\"\${${var}:+\${${var}}${value:+$sep}}\$value\"" } reset_cb() { |