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 | e8c11142aa38fd3b4190ccb4e5df81e7587fb974 (patch) | |
tree | d85448564f8b6b7f9e0d5a26b27fe0c785aba8be /package/base-files/default/etc/functions.sh | |
parent | 5c3bf17fff7b064d363caa4afcf3463e19911719 (diff) | |
download | upstream-e8c11142aa38fd3b4190ccb4e5df81e7587fb974.tar.gz upstream-e8c11142aa38fd3b4190ccb4e5df81e7587fb974.tar.bz2 upstream-e8c11142aa38fd3b4190ccb4e5df81e7587fb974.zip |
fix broken export from last commit
SVN-Revision: 5618
Diffstat (limited to 'package/base-files/default/etc/functions.sh')
-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 |