From 8fe53c051cfa96734c824f2ff78d7ee2b84a85a7 Mon Sep 17 00:00:00 2001 From: Victor Olaya Date: Sat, 19 Apr 2014 20:53:09 +0200 Subject: [PATCH] [processing] recover changes introduced in b928d165206a0994e593903d149c875131bfd6c6, lost on refactoring and merging --- python/plugins/processing/algs/grass7/Grass7Utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/plugins/processing/algs/grass7/Grass7Utils.py b/python/plugins/processing/algs/grass7/Grass7Utils.py index 205b88a3464..b729f8b0653 100644 --- a/python/plugins/processing/algs/grass7/Grass7Utils.py +++ b/python/plugins/processing/algs/grass7/Grass7Utils.py @@ -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: