Browse Source

fix broken export from last commit

SVN-Revision: 5618
Mike Baker 19 years ago
parent
commit
e8c11142aa
1 changed files with 1 additions and 1 deletions
  1. 1 1
      package/base-files/default/etc/functions.sh

+ 1 - 1
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