From 81f6b97e028657f8b7aaaf1e961d3ca7108e7c9a Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Mon, 9 Oct 2006 04:29:27 +0000 Subject: [PATCH] fix shell escaping bug in append() function SVN-Revision: 4981 --- openwrt/package/base-files/default/etc/functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openwrt/package/base-files/default/etc/functions.sh b/openwrt/package/base-files/default/etc/functions.sh index c66c760122..7a3ab6f23e 100755 --- a/openwrt/package/base-files/default/etc/functions.sh +++ b/openwrt/package/base-files/default/etc/functions.sh @@ -101,7 +101,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() { -- 2.30.2