From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:6f8:1178:4:290:27ff:fe1d:cc33]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1STUjz-0001PN-Si for barebox@lists.infradead.org; Sun, 13 May 2012 09:05:24 +0000 Date: Sun, 13 May 2012 11:05:22 +0200 From: Sascha Hauer Message-ID: <20120513090522.GW27341@pengutronix.de> References: <1336858812-23098-1-git-send-email-u.kleine-koenig@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1336858812-23098-1-git-send-email-u.kleine-koenig@pengutronix.de> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Sender: barebox-bounces@lists.infradead.org Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: [PATCH] defaultenv: don't overwrite in config To: Uwe =?iso-8859-15?Q?Kleine-K=F6nig?= Cc: barebox@lists.infradead.org, Steffen Trumtrar On Sat, May 12, 2012 at 11:40:12PM +0200, Uwe Kleine-K=F6nig 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=3Dme > = > . 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=F6nig 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@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox