In message <[EMAIL PROTECTED]> you wrote:
>
> 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 ...)

I added quotes, just to be sure.

Thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [EMAIL PROTECTED]
Thought for the day: What if there were no hypothetical situations?

-------------------------------------------------------------------------
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