Skip to content

Commit 80ab968

Browse files
pmav99nyalldawson
authored andcommitted
[grass7][mac] Use the most recent GRASS version
This is backporting: #9200 It is a continuation of: * [8db3dea](8db3dea) * [9efe4c5](9efe4c5) This commit only affects users that have multiple GRASS installations on their Macs. Using the most recent GRASS version is what we do on Linux too.
1 parent 1de9e28 commit 80ab968

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ def grassPath():
223223
break
224224
# If nothing found, try standalone GRASS installation
225225
if folder is None:
226-
for version in ['0', '1', '2', '4']:
226+
for version in ['6', '4', '2', '1', '0']:
227227
testfolder = '/Applications/GRASS-7.{}.app/Contents/MacOS'.format(version)
228228
if os.path.isdir(testfolder):
229229
folder = testfolder

0 commit comments

Comments
 (0)