Re: [PATCH] defaultenv: don't overwrite in config

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, May 12, 2012 at 11:40:12PM +0200, Uwe Kleine-König wrote:
> This patch prooved to be useful while working with a colleague on a single
> machine. It allows to switch the user without editing /env/config by
> just issuing:
> 
> 	export user=me
> 
> . Note, in bash this construct (i.e. an if without body) bails out with:
> 
> 	Syntax error: "fi" unexpected
> 
> but in hush it seems to do the right thing.
> 
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx>

Applied, thanks.

I hope though that the current default env will not last for very much
longer.

Sascha


-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux