From 62f272e44dc0874f4dd1133a4469c3c8750f10d5 Mon Sep 17 00:00:00 2001 From: "Juergen E. Fischer" Date: Sat, 13 Feb 2016 01:07:10 +0100 Subject: [PATCH] processing: fix path setting for saga --- python/plugins/processing/algs/saga/SagaUtils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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')