[GRASS-dev] some backports to 6.3.0-CVS branch

Benjamin Ducke 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.

Benjamin

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"?
> 
> Markus
> 
> 
> 
> _______________________________________________
> grass-dev mailing list
> grass-dev at grass.itc.it
> http://grass.itc.it/mailman/listinfo/grass-dev
> 
> 

-- 
Benjamin Ducke, M.A.
Archäoinformatik
(Archaeoinformation Science)
Institut für Ur- und Frühgeschichte
(Inst. of Prehistoric and Historic Archaeology)
Christian-Albrechts-Universität zu Kiel
Johanna-Mestorf-Straße 2-6
D 24098 Kiel
Germany

Tel.: ++49 (0)431 880-3378 / -3379
Fax : ++49 (0)431 880-7300
www.uni-kiel.de/ufg




More information about the grass-dev mailing list