On 12/14/2011 11:51 AM, Michael Olbrich wrote: > On Wed, Dec 14, 2011 at 12:06:59AM +0100, Andreas Bießmann wrote: >> Using /bin/sh in setlocalversion lead to corrupted $PTXDIST_VERSION_FULL >> cause the 'echo -n "$v"' will use the builtin echo which does not know >> about -n switch. > > Hmmm, I think we could just drop the '-n'. > > Marc: this is your code, what do you think. We could use printf instead. I'm not sure what happens, when we have a trailing newline in the version information. Marc -- Pengutronix e.K. | Marc Kleine-Budde | Industrial Linux Solutions | Phone: +49-231-2826-924 | Vertretung West/Dortmund | Fax: +49-5121-206917-5555 | Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |