[processing] recover changes introduced in b928d165206a0994e593903d149c875131bfd6c6, lost on refactoring and merging

This commit is contained in:
Victor Olaya 2014-04-19 20:53:09 +02:00
parent ab4e78b98f
commit 8fe53c051c

View File

@ -254,7 +254,7 @@ class Grass7Utils:
Grass7Utils.createGrass7BatchJobFileFromGrass7Commands(commands)
os.chmod(Grass7Utils.grassBatchJobFilename(), stat.S_IEXEC
| stat.S_IREAD | stat.S_IWRITE)
if isMac():
if isMac() and os.path.exists(Grass7Utils.grassPath() + os.sep + 'grass70.sh'):
command = Grass7Utils.grassPath() + os.sep + 'grass70.sh ' \
+ Grass7Utils.grassMapsetFolder() + '/PERMANENT'
else: