浏览代码

wingrass: use cmd.exe as default prompt also for standalone installer
(merge https://trac.osgeo.org/grass/changeset/63679 from trunk)


git-svn-id: https://svn.osgeo.org/grass/grass/branches/releasebranch_7_0@63680 15284696-431f-4ddb-bdfa-cd5b030d7da7

Martin Landa 10 年之前
父节点
当前提交
ca4e65dee3
共有 2 个文件被更改,包括 8 次插入4 次删除
  1. 6 4
      mswindows/env.bat
  2. 2 0
      mswindows/osgeo4w/env.bat.tmpl

+ 6 - 4
mswindows/env.bat

@@ -1,8 +1,10 @@
-rem
-rem Environmental variables for GRASS stand-alone installer
-rem
+REM
+REM Environmental variables for GRASS stand-alone installer
+REM
 
 
-set GRASS_SH=%GISBASE%\msys\bin\sh.exe
+REM Default prompt: cmd.exe
+REM To enable bash prompt please uncomment the line bellow
+REM set GRASS_SH=%GISBASE%\msys\bin\sh.exe
 
 
 set GRASS_HTML_BROWSER=explorer
 set GRASS_HTML_BROWSER=explorer
 
 

+ 2 - 0
mswindows/osgeo4w/env.bat.tmpl

@@ -3,6 +3,8 @@ REM Environmental variables for GRASS OSGeo4W installer
 REM
 REM
 
 
 set GISBASE=%OSGEO4W_ROOT%\apps\grass\grass-@VERSION@
 set GISBASE=%OSGEO4W_ROOT%\apps\grass\grass-@VERSION@
+REM Default prompt: cmd.exe
+REM To enable bash prompt please uncomment the line bellow
 REM set GRASS_SH=%OSGEO4W_ROOT%\apps\msys\bin\sh.exe
 REM set GRASS_SH=%OSGEO4W_ROOT%\apps\msys\bin\sh.exe
 
 
 set GRASS_HTML_BROWSER=explorer
 set GRASS_HTML_BROWSER=explorer