diff --git a/python/plugins/processing/algs/saga/SagaUtils.py b/python/plugins/processing/algs/saga/SagaUtils.py index 4e5c0a9d5d7f..819a9d0d0ef6 100644 --- a/python/plugins/processing/algs/saga/SagaUtils.py +++ b/python/plugins/processing/algs/saga/SagaUtils.py @@ -89,7 +89,7 @@ def createSagaBatchJobFileFromSagaCommands(commands): fout.write('set SAGA=' + sagaPath() + '\n') fout.write('set SAGA_MLB=' + sagaPath() + os.sep + 'modules' + '\n') - fout.write('PATH=PATH;%SAGA%;%SAGA_MLB%\n') + fout.write('PATH=%PATH%;%SAGA%;%SAGA_MLB%\n') elif isMac(): fout.write('export SAGA_MLB=' + sagaPath() + '/../lib/saga\n')