projects
/
oweals
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c3bf17
)
fix broken export from last commit
author
Mike Baker
<mbm@openwrt.org>
Wed, 22 Nov 2006 21:49:49 +0000
(21:49 +0000)
committer
Mike Baker
<mbm@openwrt.org>
Wed, 22 Nov 2006 21:49:49 +0000
(21:49 +0000)
SVN-Revision: 5618
package/base-files/default/etc/functions.sh
patch
|
blob
|
history
diff --git
a/package/base-files/default/etc/functions.sh
b/package/base-files/default/etc/functions.sh
index 1909ab2d47b49e6ebc936d8919dc46ceb411ff28..bf412df6d5eb3cfd8777606adae7217d505ae3d6 100755
(executable)
--- 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}_}"
- e
xport -n "$newvar=\${$oldvar}
"
+ e
val "export -n \"$newvar=\${$oldvar}\"
"
unset "$oldvar"
done