mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2024-12-15 11:24:42 +00:00
fix broken export from last commit
SVN-Revision: 5618
This commit is contained in:
parent
5c3bf17fff
commit
e8c11142aa
@ -57,7 +57,7 @@ config_rename() {
|
|||||||
for oldvar in `set | grep ^CONFIG_${OLD}_ | \
|
for oldvar in `set | grep ^CONFIG_${OLD}_ | \
|
||||||
sed -e 's/\(.*\)=.*$/\1/'` ; do
|
sed -e 's/\(.*\)=.*$/\1/'` ; do
|
||||||
newvar="CONFIG_${NEW}_${oldvar##CONFIG_${OLD}_}"
|
newvar="CONFIG_${NEW}_${oldvar##CONFIG_${OLD}_}"
|
||||||
export -n "$newvar=\${$oldvar}"
|
eval "export -n \"$newvar=\${$oldvar}\""
|
||||||
unset "$oldvar"
|
unset "$oldvar"
|
||||||
done
|
done
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user