Browse Source

env.bat.tmpl: set RStudio temporarily to %PATH% if it exists for OSGeo4W-wingrass

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@66840 15284696-431f-4ddb-bdfa-cd5b030d7da7
Helmut Kudrnovsky 9 years ago
parent
commit
764cf3f9bd
1 changed files with 4 additions and 0 deletions
  1. 4 0
      mswindows/osgeo4w/env.bat.tmpl

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

@@ -17,3 +17,7 @@ set GDAL_DATA=%OSGEO4W_ROOT%\share\gdal
 set GEOTIFF_CSV=%OSGEO4W_ROOT%\share\epsg_csv
 
 set PATH=%OSGEO4W_ROOT%\apps\msys\bin;%PATH%
+
+REM set RStudio temporarily to %PATH% if it exists 
+
+IF EXIST "%ProgramFiles%\RStudio\bin\rstudio.exe" set PATH=%PATH%;%ProgramFiles%\RStudio\bin