Skip to content

Commit

Permalink
make travis even happier
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Mar 24, 2017
1 parent 3d24b7a commit fc425b2
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions python/plugins/processing/algs/saga/SagaUtils.py
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -95,12 +95,12 @@ def createSagaBatchJobFileFromSagaCommands(commands):
fout = open(sagaBatchJobFilename(), 'w') fout = open(sagaBatchJobFilename(), 'w')
if isWindows(): if isWindows():
fout.write('set SAGA=' + sagaPath() + '\n') fout.write('set SAGA=' + sagaPath() + '\n')
fout.write('set SAGA_MLB=' + sagaPath() + os.sep fout.write('set SAGA_MLB=' + sagaPath() + os.sep +
+ 'modules' + '\n') 'modules' + '\n')
fout.write('PATH=%PATH%;%SAGA%;%SAGA_MLB%\n') fout.write('PATH=%PATH%;%SAGA%;%SAGA_MLB%\n')
elif isMac(): elif isMac():
fout.write('export SAGA_MLB=' + sagaPath() fout.write('export SAGA_MLB=' + sagaPath() +
+ '/../lib/saga\n') '/../lib/saga\n')
fout.write('export PATH=' + sagaPath() + ':$PATH\n') fout.write('export PATH=' + sagaPath() + ':$PATH\n')
else: else:
pass pass
Expand All @@ -110,6 +110,7 @@ def createSagaBatchJobFileFromSagaCommands(commands):
fout.write('exit') fout.write('exit')
fout.close() fout.close()



_installedVersion = None _installedVersion = None
_installedVersionFound = False _installedVersionFound = False


Expand Down

0 comments on commit fc425b2

Please sign in to comment.