]> 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>
Wed, 4 Mar 2015 12:44:10 +0000 (13:44 +0100)
bin/salomeContext.py

index ae609df6926f8070a50a1024b3c11eb4a1f6fc4c..30b4c57a73c37f417aa5eceafd14270ccd78cc5b 100644 (file)
@@ -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: