mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-27 00:33:48 -05:00
Merge pull request #2871 from NaturalGIS/processing_fix_grass7_detection_osx
processing fix GRASS7 detection on osx: courtesy Martin Laloux
This commit is contained in:
commit
839db0a505
@ -254,8 +254,8 @@ class Grass7Utils:
|
||||
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() \
|
||||
|
Loading…
x
Reference in New Issue
Block a user