Subject: Re: [SM-Commit] GIT changes to test cauldron by Justin Boffemmyer (daf66412138785db43ef5df6f55443d97a432e03)
Date: Tue, 14 Oct 2008 07:13:36 -0400
Jaka Kranjc wrote [08.10.14 04:29]:
> Unless COMPRESS is unset somewhere too, this check will always be true.
> Strings evaluate to true.
>
> LP
It is set (in the getopts loop, if the option is passed), so it won't
always evaluate the same (depending on what options the user passes).
However, you had it backwards: since COMPRESS is set to 'false' in the
commit you saw, then the check will always be false unless KEEP
eveluates to non-null (or the user passes the option for compress).
--
Justin "flux_control" Boffemmyer
Cauldron wizard and general mage
Source Mage GNU/Linux http://www.sourcemage.org