projects
/
openwrt
/
staging
/
dedeckeh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix shell escaping bug in append() function
[openwrt/staging/dedeckeh.git]
/
openwrt
/
package
/
base-files
/
default
/
etc
/
functions.sh
diff --git
a/openwrt/package/base-files/default/etc/functions.sh
b/openwrt/package/base-files/default/etc/functions.sh
index ce22ed151c3e25dd2eaf9aa6ac6c25e7f87e1e00..2ce172eb358fb2cd2e6020831075d53fea78f47f 100755
(executable)
--- 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() {