On Friday 02 May 2008, Mike Frysinger wrote:
>  $(VERSION_FILE):
> -             @( echo -n "#define U_BOOT_VERSION \"U-Boot " ; \
> -             echo -n "$(U_BOOT_VERSION)" ; \
> -             echo -n $(shell $(CONFIG_SHELL) $(TOPDIR)/tools/setlocalversion 
> \
> -                      $(TOPDIR)) ; \
> -             echo "\"" ) > [EMAIL PROTECTED]
> +             @( printf '#define U_BOOT_VERSION "U-Boot %s%s"\n' 
> "$(U_BOOT_VERSION)" \
> +              $(shell $(CONFIG_SHELL) $(TOPDIR)/tools/setlocalversion 
> $(TOPDIR)) \
> +              ) > [EMAIL PROTECTED]

i realized this may break if the setlocalversion generates a space ... but i 
dont think that's possible ?  if it is, then we should quote the $(shell ...)
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
U-Boot-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/u-boot-users

Reply via email to