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 | 91712548aee6c2b459b93d026bd91cab41f2bb18 (patch) | |
tree | daac0d7418382b050ccb8673f1da9b92f0d847f0 /openwrt | |
parent | 0bb19484e22b14965b7a992ddaba000442301eef (diff) | |
download | mtk-20170518-91712548aee6c2b459b93d026bd91cab41f2bb18.zip mtk-20170518-91712548aee6c2b459b93d026bd91cab41f2bb18.tar.gz mtk-20170518-91712548aee6c2b459b93d026bd91cab41f2bb18.tar.bz2 |
fix shell escaping bug in append() function
SVN-Revision: 4981
Diffstat (limited to 'openwrt')
-rwxr-xr-x | openwrt/package/base-files/default/etc/functions.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openwrt/package/base-files/default/etc/functions.sh b/openwrt/package/base-files/default/etc/functions.sh index ce22ed1..2ce172e 100755 --- a/openwrt/package/base-files/default/etc/functions.sh +++ b/openwrt/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() { |