[GRASS-dev] [bug #5499] (grass) bash scripts starting with
#!/bin/sh
Glynn Clements
glynn at gclements.plus.com
Mon Mar 19 22:14:58 EDT 2007
Daniel Calvelo wrote:
> Ok, I've changed d.correlate, d.polar, d.vect.thematic and g.mlist.
> The other hits were either awk, r.mapcalc, or r.tileset :)
>
> BTW there are lots of 'if test "$GISBASE" = ""; then' ; was this a
> preferred method to -z for some reason? Is there some risk involved?
If there's a shell out there which has a problem with -z, it isn't
going to like the configure scripts which autoconf generates, as they
use -z to test for an empty string.
--
Glynn Clements <glynn at gclements.plus.com>
More information about the grass-dev
mailing list