[GRASS-SVN] r43233 - grass/branches/releasebranch_6_4/macosx/app

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Aug 24 09:34:01 EDT 2010


Author: kyngchaos
Date: 2010-08-24 13:34:01 +0000 (Tue, 24 Aug 2010)
New Revision: 43233

Modified:
   grass/branches/releasebranch_6_4/macosx/app/grass.sh.in
Log:
let init.sh set default gui if not set

Modified: grass/branches/releasebranch_6_4/macosx/app/grass.sh.in
===================================================================
--- grass/branches/releasebranch_6_4/macosx/app/grass.sh.in	2010-08-24 11:31:57 UTC (rev 43232)
+++ grass/branches/releasebranch_6_4/macosx/app/grass.sh.in	2010-08-24 13:34:01 UTC (rev 43233)
@@ -252,8 +252,8 @@
 	if [ -f "$GRASSRC" ] ; then
 		GRASS_GUI=`awk '/GRASS_GUI/ {print $2}' "$GRASSRC"`
 	fi
-	if [ ! "$GRASS_GUI" ] ; then
-		GRASS_GUI="tcltk"
+	if [ -z "$GRASS_GUI" ] ; then
+		unset GRASS_GUI
 	fi
 fi
 if [ "$GRASS_GUI" = "text" ] && [ "$x11" = "tig" ] ; then



More information about the grass-commit mailing list