From e8c11142aa38fd3b4190ccb4e5df81e7587fb974 Mon Sep 17 00:00:00 2001 From: Mike Baker Date: Wed, 22 Nov 2006 21:49:49 +0000 Subject: [PATCH] fix broken export from last commit SVN-Revision: 5618 --- package/base-files/default/etc/functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/base-files/default/etc/functions.sh b/package/base-files/default/etc/functions.sh index 1909ab2d47..bf412df6d5 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