From: Cédric Aguerre Date: Tue, 3 Mar 2015 17:45:38 +0000 (+0100) Subject: fix for LIBPATH and INCLUDE X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=d9bfe7946945b4dc1c2158e80e34bf8395284ad7;p=modules%2Fkernel.git fix for LIBPATH and INCLUDE --- 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: