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}_ | \ for oldvar in `set | grep ^CONFIG_${OLD}_ | \
sed -e 's/\(.*\)=.*$/\1/'` ; do sed -e 's/\(.*\)=.*$/\1/'` ; do
newvar="CONFIG_${NEW}_${oldvar##CONFIG_${OLD}_}" newvar="CONFIG_${NEW}_${oldvar##CONFIG_${OLD}_}"
export -n "$newvar=\${$oldvar}" eval "export -n \"$newvar=\${$oldvar}\""
unset "$oldvar" unset "$oldvar"
done done