Bläddra i källkod

grass.py: https://trac.osgeo.org/grass/changeset/64684 cosmetics (second attempt)

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@64688 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 10 år sedan
förälder
incheckning
9f9151ea31
1 ändrade filer med 3 tillägg och 2 borttagningar
  1. 3 2
      lib/init/grass.py

+ 3 - 2
lib/init/grass.py

@@ -907,10 +907,11 @@ def check_shell():
             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":