tn3399_openwrt/package/utils/busybox
Felix Fietkau 33ae9569a4 busybox: fix existing "export -n" in ash
Minor fix to existing patch which did not correctly implement -n support for the export command in ash. The VEXPORT flag of a variable was set in the first call to setvareq() and then remained set in the subsequent call, because the variable already existed in the environment.

Although /lib/functions.sh by default does not export variables (NO_EXPORT=1), this issue was leading to dirty environments.

Without this fix:
(ash) export A=1; export -n B=2; /bin/ash -c "echo \$A, \$B"
1, 2

With this fix:
(ash) export A=1; export -n B=2; /bin/ash -c "echo \$A, \$B"
1,

Signed-off-by: Christophe Lermytte <openwrt@lermytte.be>

SVN-Revision: 39968
2014-03-20 14:14:30 +00:00
..
config busybox: add a reworked implementation of menuconfig support, this time with a guard option that keeps all symbols at default values until an extra option is activated 2014-01-31 13:50:16 +00:00
files busybox: fix processing of multiple NTP servers in the config (#15294) 2014-03-17 14:52:18 +00:00
patches busybox: fix existing "export -n" in ash 2014-03-20 14:14:30 +00:00
Config-defaults.in busybox: add a reworked implementation of menuconfig support, this time with a guard option that keeps all symbols at default values until an extra option is activated 2014-01-31 13:50:16 +00:00
Config.in busybox: Add help documentation in menuconfig 2014-01-31 19:15:14 +00:00
convert_defaults.pl busybox: add a reworked implementation of menuconfig support, this time with a guard option that keeps all symbols at default values until an extra option is activated 2014-01-31 13:50:16 +00:00
convert_menuconfig.pl busybox: add a reworked implementation of menuconfig support, this time with a guard option that keeps all symbols at default values until an extra option is activated 2014-01-31 13:50:16 +00:00
Makefile busybox: add a reworked implementation of menuconfig support, this time with a guard option that keeps all symbols at default values until an extra option is activated 2014-01-31 13:50:16 +00:00