Skip to Content.
Sympa Menu

sm-commit - Re: [SM-Commit] GIT changes to master grimoire by Eric Sandall (5e0ccd0c378b5be13d38d847493bdbadf35b7356)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Eric Sandall <eric AT sandall.us>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: Re: [SM-Commit] GIT changes to master grimoire by Eric Sandall (5e0ccd0c378b5be13d38d847493bdbadf35b7356)
  • Date: Mon, 19 Jul 2010 14:47:13 -0700

Quoting Ladislav Hagara <ladislav.hagara AT unob.cz>:


SPELL=mangler
+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.

-sandalle

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




Archive powered by MHonArc 2.6.24.

Top of Page