diff options
author | Mike Baker <mbm@openwrt.org> | 2006-11-22 21:49:49 +0000 |
---|---|---|
committer | Mike Baker <mbm@openwrt.org> | 2006-11-22 21:49:49 +0000 |
commit | d6484c3747e8d1eff2d66951e1a9dd77517c8d65 (patch) | |
tree | 3cd8309ac8da6d60db5a50a21f21492c2b4f8d01 | |
parent | af9bcd14fead361a83fcee7258e18548954ea1c1 (diff) | |
download | master-187ad058-d6484c3747e8d1eff2d66951e1a9dd77517c8d65.tar.gz master-187ad058-d6484c3747e8d1eff2d66951e1a9dd77517c8d65.tar.bz2 master-187ad058-d6484c3747e8d1eff2d66951e1a9dd77517c8d65.zip |
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 1909ab2d47..bf412df6d5 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 |