[GRASS-SVN] r53791 - grass/branches/releasebranch_6_4/lib/init

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Nov 13 09:22:29 PST 2012


Author: martinl
Date: 2012-11-13 09:22:29 -0800 (Tue, 13 Nov 2012)
New Revision: 53791

Modified:
   grass/branches/releasebranch_6_4/lib/init/init.sh
Log:
remove duplicated code (language settings) from init script


Modified: grass/branches/releasebranch_6_4/lib/init/init.sh
===================================================================
--- grass/branches/releasebranch_6_4/lib/init/init.sh	2012-11-13 17:14:01 UTC (rev 53790)
+++ grass/branches/releasebranch_6_4/lib/init/init.sh	2012-11-13 17:22:29 UTC (rev 53791)
@@ -255,11 +255,6 @@
 # Set PATH to GRASS bin, ETC to GRASS etc
 ETC="$GISBASE/etc"
 
-# Check for a reference to the language in the grassrc file
-if [ -f "$GISRC" ] ; then
-    LANG=`awk '/LANG/ {print $2}' "$GISRC"`
-fi
-
 if [ $LANG ] ; then
     LCL=$LANG
     export LANG



More information about the grass-commit mailing list