[GRASS5] bash in scripts

Andreas Lange Andreas.Lange at Rhein-Main.de
Fri May 18 11:16:18 EDT 2001


Hi 2 all, Hi Reinhard,

i noticed that my new and old scripts reference bash (#!/bin/bash),
which is available by default only on linux. 
I just updated the scripts in CVS (pre-release tagged version). I think
that my scripts do not use any bash idiosyncrasies. 

Reinhard, i found that you use bash in
src/tcltkgrass/scripts/cell.out.tiff, wait.sh and mapcalculator.sh.
Could you please check if there are any constructs that are available
only with bash? If no, please change to sh, else construct something
that will not reference an absolute path (e. g. on my Solaris
installation bash is in /usr/local/bin/bash, sometimes it is in
/opt/sfw/bin/bash or similar). 

Thanks,

Andreas
-- 
Andreas Lange, 65187 Wiesbaden, Germany, Tel. +49 611 807850
Andreas.Lange at Rhein-Main.de - A.C.Lange at GMX.net



More information about the grass-dev mailing list