From: Mike Baker Date: Wed, 22 Nov 2006 21:49:49 +0000 (+0000) Subject: fix broken export from last commit X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=e8c11142aa38fd3b4190ccb4e5df81e7587fb974;p=openwrt%2Fstaging%2Fnbd.git fix broken export from last commit SVN-Revision: 5618 --- 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