Skip to content

Commit 8fe53c0

Browse files
committedApr 19, 2014
[processing] recover changes introduced in b928d16, lost on refactoring and merging
1 parent ab4e78b commit 8fe53c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ def prepareGrass7Execution(commands):
254254
Grass7Utils.createGrass7BatchJobFileFromGrass7Commands(commands)
255255
os.chmod(Grass7Utils.grassBatchJobFilename(), stat.S_IEXEC
256256
| stat.S_IREAD | stat.S_IWRITE)
257-
if isMac():
257+
if isMac() and os.path.exists(Grass7Utils.grassPath() + os.sep + 'grass70.sh'):
258258
command = Grass7Utils.grassPath() + os.sep + 'grass70.sh ' \
259259
+ Grass7Utils.grassMapsetFolder() + '/PERMANENT'
260260
else:

0 commit comments

Comments
 (0)
Please sign in to comment.