diff options
Diffstat (limited to 'package')
-rwxr-xr-x | package/base-files/default/etc/functions.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/base-files/default/etc/functions.sh b/package/base-files/default/etc/functions.sh index 1909ab2..bf412df 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 |