[GRASS-SVN] r40092 - grass/branches/develbranch_6/lib/init
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Dec 20 14:38:25 EST 2009
Author: marisn
Date: 2009-12-20 14:38:25 -0500 (Sun, 20 Dec 2009)
New Revision: 40092
Modified:
grass/branches/develbranch_6/lib/init/init.sh
Log:
Use correct string comparison
Modified: grass/branches/develbranch_6/lib/init/init.sh
===================================================================
--- grass/branches/develbranch_6/lib/init/init.sh 2009-12-20 14:27:06 UTC (rev 40091)
+++ grass/branches/develbranch_6/lib/init/init.sh 2009-12-20 19:38:25 UTC (rev 40092)
@@ -817,7 +817,7 @@
# Check for tcltk interface
tcltk | gis.m)
- if [ $sh -ne bash ] || [ $sh -ne msh ] || [ $sh -ne cygwin ]; then
+ if [ "$sh" != "bash" ] && [ "$sh" != "msh" ] && [ "$sh" != "cygwin" ]; then
# trap is not supported by csh/tcsh and rc
"$GISBASE/scripts/gis.m"
fi;
More information about the grass-commit
mailing list