[GRASS-dev] some backports to 6.3.0-CVS branch
benjamin.ducke at ufg.uni-kiel.de
Fri Oct 26 10:25:07 EDT 2007
True. I guess there should be a check for an unset var to not run
this loop. However, I don't know what that var is.
Apparently there is no harm in running that loop with an empty list
except for cosmetics (ugly error message). But I just can't be sure
until I know about the WHAT.
Markus Neteler wrote:
> Benjamin Ducke wrote on 10/26/2007 12:29 PM:
>>> What happens if you enter the following directly into the shell?
>>> if [ "" != "" ] ; then for dir in ; do make -C $dir clean ; done ; fi
>> sh: syntax error near unexpected token `;'
> In that rule the list is empty:
> ... for dir in WHAT?;...
> Isn't that the problem?
> Or no ; after/before "done"?
> grass-dev mailing list
> grass-dev at grass.itc.it
Benjamin Ducke, M.A.
Institut für Ur- und Frühgeschichte
(Inst. of Prehistoric and Historic Archaeology)
Christian-Albrechts-Universität zu Kiel
D 24098 Kiel
Tel.: ++49 (0)431 880-3378 / -3379
Fax : ++49 (0)431 880-7300
More information about the grass-dev