[SM-Commit] GIT changes to master grimoire by Eric Sandall (5e0ccd0c378b5be13d38d847493bdbadf35b7356)
eric at sandall.us
Mon Jul 19 17:47:13 EDT 2010
Quoting Ladislav Hagara <ladislav.hagara at unob.cz>:
>> +if [[ "$MANGLER_SCM" == "y" ]] && [[ ! -z $MANGLER_SCM ]]; then
> Isn't the second condition (-z) useless? :-)
> If MANGLER_SCM==y it have to be non zero lenght.
Without the -z, when I did `gaze version mangler` before casting I got
'-' as the grimoire version. Adding the -z gave me "1.2.0" as the
installed version as was proper.
There should have been no difference, you are correct.
Eric Sandall | Source Mage GNU/Linux Developer
eric at sandall.us PGP: 0xA8EFDD61 | http://www.sourcemage.org/
http://eric.sandall.us/ | http://counter.li.org/ #196285
More information about the SM-Commit