Skip to content

Commit 683309a

Browse files
committedOct 4, 2016
[processing] correct GRASS 7 detection on Mac (fix #15645)
follow up e1ff6e8 (cherry picked from commit d03d206) Conflicts: python/plugins/processing/algs/grass7/Grass7Utils.py
1 parent a23dc9e commit 683309a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -246,8 +246,8 @@ def prepareGrass7Execution(commands):
246246
Grass7Utils.createGrass7BatchJobFileFromGrass7Commands(commands)
247247
os.chmod(Grass7Utils.grassBatchJobFilename(), stat.S_IEXEC
248248
| stat.S_IREAD | stat.S_IWRITE)
249-
if isMac() and os.path.exists(Grass7Utils.grassPath() + os.sep + 'grass70.sh'):
250-
command = Grass7Utils.grassPath() + os.sep + 'grass70.sh ' \
249+
if isMac() and os.path.exists(Grass7Utils.grassPath() + os.sep + 'grass.sh'):
250+
command = Grass7Utils.grassPath() + os.sep + 'grass.sh ' \
251251
+ Grass7Utils.grassMapsetFolder() + '/PERMANENT'
252252
else:
253253
command = 'grass70 ' + Grass7Utils.grassMapsetFolder() \

0 commit comments

Comments
 (0)
Please sign in to comment.