Re: Strip whitespace from EXTRAVERSION?

From: Juergen Salk
Date: Tue Apr 06 2004 - 11:48:35 EST


* Andreas Schwab <schwab@xxxxxxx> [040406 17:56]:

> > +EXTRAVERSION := $(shell echo $(EXTRAVERSION) | sed -e 's/[ ]//g')
^ ^

> EXTRAVERSION := $(strip $(EXTRAVERSION))

Ok. I think this still leaves embedded whitespace (which may also
cause some trouble), but this is much harder to to overlook, if
not introduced intentionally, anyway. ;-)

Regards - Juergen

--
GPG A997BA7A | 87FC DA31 5F00 C885 0DC3 E28F BD0D 4B33 A997 BA7A

Attachment: pgp00000.pgp
Description: PGP signature