fix broken export from last commit

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5618 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
Mike Baker 2006-11-22 21:49:49 +00:00
parent af9bcd14fe
commit d6484c3747
1 changed files with 1 additions and 1 deletions

View File

@ -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