From d9bfe7946945b4dc1c2158e80e34bf8395284ad7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?C=C3=A9dric=20Aguerre?= Date: Tue, 3 Mar 2015 18:45:38 +0100 Subject: [PATCH] fix for LIBPATH and INCLUDE --- bin/salomeContext.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bin/salomeContext.py b/bin/salomeContext.py index ae609df69..30b4c57a7 100644 --- a/bin/salomeContext.py +++ b/bin/salomeContext.py @@ -314,7 +314,10 @@ class SalomeContext: a = filter(None, reservedDict[reserved]) # remove empty elements a = [ os.path.realpath(x) for x in a ] reformattedVals = os.pathsep.join(a) - self.addToVariable(reserved, reformattedVals) + if reserved in ["INCLUDE", "LIBPATH"]: + self.addToVariable(reserved, reformattedVals, separator=' ') + else: + self.addToVariable(reserved, reformattedVals) pass for key,val in configVars: -- 2.39.2