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

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Nov 13 09:01:18 PST 2012


Author: martinl
Date: 2012-11-13 09:01:17 -0800 (Tue, 13 Nov 2012)
New Revision: 53788

Modified:
   grass/branches/develbranch_6/lib/init/init.sh
Log:
grass init: don't check GIS env for language settings, use env variable


Modified: grass/branches/develbranch_6/lib/init/init.sh
===================================================================
--- grass/branches/develbranch_6/lib/init/init.sh	2012-11-13 16:30:56 UTC (rev 53787)
+++ grass/branches/develbranch_6/lib/init/init.sh	2012-11-13 17:01:17 UTC (rev 53788)
@@ -233,11 +233,6 @@
     	GRASS_GUI=`awk '/GRASS_GUI/ {print $2}' "$GISRC"`
     fi
 
-    # Check for a reference to the language in the grassrc file
-    if [ -f "$GISRC" ] ; then
-    	LANG=`awk '/LANG/ {print $2}' "$GISRC"`
-    fi
-
     # Set the GRASS user interface to the default if needed
     if [ ! "$GRASS_GUI" ] ; then
 	GRASS_GUI="$DEFAULT_GUI"



More information about the grass-commit mailing list