fix broken export from last commit

SVN-Revision: 5618
This commit is contained in:
Mike Baker 2006-11-22 21:49:49 +00:00
parent 5c3bf17fff
commit e8c11142aa

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