projects
/
openwrt
/
svn-archive
/
archive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
059b39b
)
fix shell escaping bug in append() function
author
Felix Fietkau
<nbd@openwrt.org>
Mon, 9 Oct 2006 04:29:27 +0000
(
04:29
+0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Mon, 9 Oct 2006 04:29:27 +0000
(
04:29
+0000)
SVN-Revision: 4981
openwrt/package/base-files/default/etc/functions.sh
patch
|
blob
|
history
diff --git
a/openwrt/package/base-files/default/etc/functions.sh
b/openwrt/package/base-files/default/etc/functions.sh
index c66c7601224c639334801770df55f0769fe0e3ff..7a3ab6f23e7283a679dd2d30793b21cf9857b174 100755
(executable)
--- 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() {