From: Cédric Aguerre Date: Tue, 3 Mar 2015 17:45:38 +0000 (+0100) Subject: fix for LIBPATH and INCLUDE X-Git-Tag: V7_6_0a1~13 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=107bcfc90fcce31de2813ea9e58cdb435f8f2484;p=modules%2Fkernel.git fix for LIBPATH and INCLUDE --- diff --git a/bin/salomeContext.py b/bin/salomeContext.py index 8f7a01285..38e508025 100644 --- a/bin/salomeContext.py +++ b/bin/salomeContext.py @@ -309,7 +309,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: