Skip to content
Permalink
Browse files
make travis even happier
  • Loading branch information
jef-n committed Mar 24, 2017
1 parent 3d24b7a commit fc425b2c89e2831b4289cfb7ac29f255aa943581
Showing with 5 additions and 4 deletions.
  1. +5 −4 python/plugins/processing/algs/saga/SagaUtils.py
@@ -95,12 +95,12 @@ def createSagaBatchJobFileFromSagaCommands(commands):
fout = open(sagaBatchJobFilename(), 'w')
if isWindows():
fout.write('set SAGA=' + sagaPath() + '\n')
fout.write('set SAGA_MLB=' + sagaPath() + os.sep
+ 'modules' + '\n')
fout.write('set SAGA_MLB=' + sagaPath() + os.sep +
'modules' + '\n')
fout.write('PATH=%PATH%;%SAGA%;%SAGA_MLB%\n')
elif isMac():
fout.write('export SAGA_MLB=' + sagaPath()
+ '/../lib/saga\n')
fout.write('export SAGA_MLB=' + sagaPath() +
'/../lib/saga\n')
fout.write('export PATH=' + sagaPath() + ':$PATH\n')
else:
pass
@@ -110,6 +110,7 @@ def createSagaBatchJobFileFromSagaCommands(commands):
fout.write('exit')
fout.close()


_installedVersion = None
_installedVersionFound = False

0 comments on commit fc425b2

Please sign in to comment.