mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-23 15:32:33 +00:00
fix shell escaping bug in append() function
SVN-Revision: 4981
This commit is contained in:
parent
0bb19484e2
commit
91712548ae
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user