[Haiku-commits] r31132 - haiku/trunk/build/jam

Ingo Weinhold ingo_weinhold at gmx.de
Sat Jun 20 14:22:49 CEST 2009


On 2009-06-20 at 14:10:49 [+0200], Axel Dörfler <axeld at pinc-software.de> 
wrote:
> bonefish at mail.berlios.de wrote:
> > Log:
> > Changed isHybridBuild variable from 0/1 to undefined/defined. Fixes
> > formerly
> > incorrect check in the DevelopmentBase package. Thanks to Joseph
> > Prostko for
> > the hint.
> 
> Just curious: why is the former check wrong?

isHybridImage was always defined to either "0" or "1", but "if 
$(isHybridImage)" just checks whether the variable has a value. The other 
"= 0" and "= 1" checks did work, of course, but I find it nicer to use the 
boolean-like syntax.

CU, Ingo



More information about the Haiku-commits mailing list