Skip to content

Commit aa30730

Browse files
committedJan 25, 2019
osgeo4w: support GRASS 7.6
1 parent 6551c2a commit aa30730

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed
 

‎ms-windows/osgeo4w/package-nightly.cmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,8 @@ set CMAKE_OPT=^
9191

9292
:devenv
9393
set GRASS7=
94-
if exist %OSGEO4W_ROOT%\bin\grass72.bat set GRASS7=%OSGEO4W_ROOT%\bin\grass72.bat
9594
if exist %OSGEO4W_ROOT%\bin\grass74.bat set GRASS7=%OSGEO4W_ROOT%\bin\grass74.bat
95+
if exist %OSGEO4W_ROOT%\bin\grass76.bat set GRASS7=%OSGEO4W_ROOT%\bin\grass76.bat
9696
if "%GRASS7%"=="" (echo GRASS7 not found & goto error)
9797

9898
for /f "usebackq tokens=1" %%a in (`%GRASS7% --config path`) do set GRASS7_PATH=%%a

‎ms-windows/osgeo4w/package.cmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,8 @@ set CMAKE_OPT=^
8787

8888
:devenv
8989
set GRASS7=
90-
if exist %OSGEO4W_ROOT%\bin\grass72.bat set GRASS7=%OSGEO4W_ROOT%\bin\grass72.bat
9190
if exist %OSGEO4W_ROOT%\bin\grass74.bat set GRASS7=%OSGEO4W_ROOT%\bin\grass74.bat
91+
if exist %OSGEO4W_ROOT%\bin\grass76.bat set GRASS7=%OSGEO4W_ROOT%\bin\grass76.bat
9292
if "%GRASS7%"=="" (echo GRASS7 not found & goto error)
9393

9494
for /f "usebackq tokens=1" %%a in (`%GRASS7% --config path`) do set GRASS7_PATH=%%a

‎python/plugins/processing/algs/grass7/Grass7Utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ def installedVersion(run=False):
8484
if Grass7Utils.grassPath() is None:
8585
return None
8686

87-
for command in ["grass74", "grass72", "grass71", "grass70", "grass"]:
87+
for command in ["grass76", "grass74", "grass72", "grass71", "grass70", "grass"]:
8888
proc = subprocess.Popen(
8989
["{} -v".format(command)],
9090
shell=True,

0 commit comments

Comments
 (0)
Please sign in to comment.