Skip to content
Permalink
Browse files

Merge pull request #2871 from NaturalGIS/processing_fix_grass7_detect…

…ion_osx

processing fix GRASS7 detection on osx: courtesy Martin Laloux
  • Loading branch information
volaya committed Mar 18, 2016
2 parents 1fdd177 + e1ff6e8 commit 839db0a50531713591c235e0d0c8734dcd30dbd7
Showing with 2 additions and 2 deletions.
  1. +2 −2 python/plugins/processing/algs/grass7/Grass7Utils.py
@@ -254,8 +254,8 @@ def prepareGrass7Execution(commands):
Grass7Utils.createGrass7BatchJobFileFromGrass7Commands(commands)
os.chmod(Grass7Utils.grassBatchJobFilename(), stat.S_IEXEC
| stat.S_IREAD | stat.S_IWRITE)
if isMac() and os.path.exists(Grass7Utils.grassPath() + os.sep + 'grass70.sh'):
command = Grass7Utils.grassPath() + os.sep + 'grass70.sh ' \
if isMac() and os.path.exists(Grass7Utils.grassPath() + os.sep + '*grass.sh*'):
command = Grass7Utils.grassPath() + os.sep + '*grass.sh* ' \
+ Grass7Utils.grassMapsetFolder() + '/PERMANENT'
else:
command = 'grass70 ' + Grass7Utils.grassMapsetFolder() \

0 comments on commit 839db0a

Please sign in to comment.
You can’t perform that action at this time.