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

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Feb 19 09:50:39 PST 2015


Author: martinl
Date: 2015-02-19 09:50:39 -0800 (Thu, 19 Feb 2015)
New Revision: 64688

Modified:
   grass/trunk/lib/init/grass.py
Log:
grass.py: r64684 cosmetics (second attempt)


Modified: grass/trunk/lib/init/grass.py
===================================================================
--- grass/trunk/lib/init/grass.py	2015-02-19 17:49:45 UTC (rev 64687)
+++ grass/trunk/lib/init/grass.py	2015-02-19 17:50:39 UTC (rev 64688)
@@ -907,10 +907,11 @@
             sh = os.path.basename(os.getenv('SHELL'))
         except:
             sh = 'sh'
-            os.environ['SHELL'] = "sh" 
+            os.environ['SHELL'] = sh
+        
         if windows and sh:
             sh = os.path.splitext(sh)[0]
-
+        
         if sh == "ksh":
             shellname = "Korn Shell"
         elif sh == "csh":



More information about the grass-commit mailing list