summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authormbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-11-22 21:49:49 +0000
committermbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-11-22 21:49:49 +0000
commitb74bce24405d6b10e224b7fa31e0eb0bfdc89ffe (patch)
tree3cd8309ac8da6d60db5a50a21f21492c2b4f8d01 /package
parent0936143bd879ec1f9b781608ab9b82280586c2b3 (diff)
fix broken export from last commit
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5618 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rwxr-xr-xpackage/base-files/default/etc/functions.sh2
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 1909ab2d4..bf412df6d 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