[GRASS-SVN] r39351 - grass/branches/develbranch_6/lib/init

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Sep 30 08:02:19 EDT 2009


Author: marisn
Date: 2009-09-30 08:02:19 -0400 (Wed, 30 Sep 2009)
New Revision: 39351

Modified:
   grass/branches/develbranch_6/lib/init/init.sh
Log:
Fix comparison typo introduced in r39350 by me. (sh is not C!)

Modified: grass/branches/develbranch_6/lib/init/init.sh
===================================================================
--- grass/branches/develbranch_6/lib/init/init.sh	2009-09-30 10:57:05 UTC (rev 39350)
+++ grass/branches/develbranch_6/lib/init/init.sh	2009-09-30 12:02:19 UTC (rev 39351)
@@ -970,7 +970,7 @@
     echo "export PATH=\"$PATH\"" >> "$bashrc"
     echo "export HOME=\"$USERHOME\"" >> "$bashrc" # restore user home path
     echo 'export GRASS_SHELL_PID=$$' >> "$bashrc" # can be used to terminate GRASS session from GUI
-    if [ "$GRASS_GUI" == tcltk ] || [ "$GRASS_GUI" == gis.m ]; then
+    if [ "$GRASS_GUI" = tcltk ] || [ "$GRASS_GUI" = gis.m ]; then
     	echo '$GISBASE/scripts/gis.m' >> "$bashrc" # Start gis.m
     fi;
     echo 'trap "echo \"GUI issued an exit\"; exit" SIGINT' >> "$bashrc"



More information about the grass-commit mailing list