diff options
author | mbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2006-11-22 21:49:49 +0000 |
---|---|---|
committer | mbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2006-11-22 21:49:49 +0000 |
commit | b74bce24405d6b10e224b7fa31e0eb0bfdc89ffe (patch) | |
tree | 3cd8309ac8da6d60db5a50a21f21492c2b4f8d01 | |
parent | 0936143bd879ec1f9b781608ab9b82280586c2b3 (diff) |
fix broken export from last commit
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5618 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rwxr-xr-x | package/base-files/default/etc/functions.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/base-files/default/etc/functions.sh b/package/base-files/default/etc/functions.sh index 1909ab2d4..bf412df6d 100755 --- a/package/base-files/default/etc/functions.sh +++ b/package/base-files/default/etc/functions.sh @@ -57,7 +57,7 @@ config_rename() { for oldvar in `set | grep ^CONFIG_${OLD}_ | \ sed -e 's/\(.*\)=.*$/\1/'` ; do newvar="CONFIG_${NEW}_${oldvar##CONFIG_${OLD}_}" - export -n "$newvar=\${$oldvar}" + eval "export -n \"$newvar=\${$oldvar}\"" unset "$oldvar" done |