r1437 - in packages/branches/nexuiz/nexuiz-2.0/debian: . scripts

Bruno Kleinert fuddl at gmx.de
Sat Aug 26 22:47:04 UTC 2006


This one time, at band camp, Eddy Petrişor wrote:
> > > why not :
> > > if [ ${QUIET} -eq 1 ]; then
> >
> > is that better than '='? sorry, i'm not a shell script guru and don't
> > know better.
> 
> I thought you were trying to compare $QUIET with the numerical value
> "1"; that is the purpose of my suggested line. What you are doing now
> it actually compare strings. I don't know what was your intention.

d'oh! yes, i wanted to compare it numerically. but it works with '='
instead of -eq, too... doens't it play any role in this case, as QUIET
is intended to be only either 1 oder 0?

fuddl

-- 
Among elephants it's not considered cool nor in any good taste
to drain other elephants


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20060827/b1795252/signature.pgp


More information about the Pkg-games-devel mailing list