]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
fix for LIBPATH and INCLUDE
authorCédric Aguerre <cedric.aguerre@edf.fr>
Tue, 3 Mar 2015 17:45:38 +0000 (18:45 +0100)
committerCédric Aguerre <cedric.aguerre@edf.fr>
Tue, 3 Mar 2015 17:45:38 +0000 (18:45 +0100)
bin/salomeContext.py

index 8f7a01285ae70a2f5753b4d1490c909212d5d1d5..38e5080257768cc331e306d945ebb239cffcf158 100644 (file)
@@ -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: