summaryrefslogtreecommitdiff
path: root/package/base-files
diff options
context:
space:
mode:
authorMike Baker <mbm@openwrt.org>2006-11-22 21:49:49 +0000
committerMike Baker <mbm@openwrt.org>2006-11-22 21:49:49 +0000
commite8c11142aa38fd3b4190ccb4e5df81e7587fb974 (patch)
treed85448564f8b6b7f9e0d5a26b27fe0c785aba8be /package/base-files
parent5c3bf17fff7b064d363caa4afcf3463e19911719 (diff)
downloadmtk-20170518-e8c11142aa38fd3b4190ccb4e5df81e7587fb974.zip
mtk-20170518-e8c11142aa38fd3b4190ccb4e5df81e7587fb974.tar.gz
mtk-20170518-e8c11142aa38fd3b4190ccb4e5df81e7587fb974.tar.bz2
fix broken export from last commit
SVN-Revision: 5618
Diffstat (limited to 'package/base-files')
-rwxr-xr-xpackage/base-files/default/etc/functions.sh2
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 1909ab2..bf412df 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