On 2015-09-10 15:12 -0400, Greg Troxel wrote:

> -if test x$gtk3 == xno; then
> +if test x$gtk3 = xno; then

FWIW, I have stopped using test completely in shell scripts.  It is just
too confusing and fragile, and requires "write-only" tricks like the use
of x above.

I would write this with a single branch case statement.

-- 
Please *no* private copies of mailing list or newsgroup messages.
Rule 420: All persons more than eight miles high to leave the court.

------------------------------------------------------------------------------
Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
Get real-time metrics from all of your servers, apps and tools
in one place.
SourceForge users - Click here to start your Free Trial of Datadog now!
http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140
_______________________________________________
Geeqie-devel mailing list
Geeqie-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geeqie-devel

Reply via email to