[GRASS-SVN] r41147 - grass/trunk/lib/init

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Feb 21 10:26:19 EST 2010


Author: kyngchaos
Date: 2010-02-21 10:26:19 -0500 (Sun, 21 Feb 2010)
New Revision: 41147

Modified:
   grass/trunk/lib/init/functions.sh
Log:
fix browser logic for Mac

Modified: grass/trunk/lib/init/functions.sh
===================================================================
--- grass/trunk/lib/init/functions.sh	2010-02-21 08:20:48 UTC (rev 41146)
+++ grass/trunk/lib/init/functions.sh	2010-02-21 15:26:19 UTC (rev 41147)
@@ -212,9 +212,8 @@
 		fi
 	    done
 	fi
-    fi
 
-    if [ "$MACOSX" -a "$GRASS_HTML_BROWSER" != "" ] ; then
+    elif [ "$MACOSX" ] ; then
 	# OSX doesn't execute browsers from the shell PATH - route thru a script
 	GRASS_HTML_BROWSER_MACOSX="-b $GRASS_HTML_BROWSER"
 	export GRASS_HTML_BROWSER_MACOSX



More information about the grass-commit mailing list