projects
/
15.05
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ec2bfc
)
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)
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4981
3c298f89
-4303-0410-b956-
a3cf2f4a3e73
package/base-files/default/etc/functions.sh
patch
|
blob
|
history
diff --git
a/package/base-files/default/etc/functions.sh
b/package/base-files/default/etc/functions.sh
index
ce22ed1
..
2ce172e
100755
(executable)
--- 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() {