# Additional files
# ================
SET(_salome_context_API_SCRIPTS
- #${KERNEL_ROOT_DIR}/bin/salome/salomeContext.py # No warning salomeContext
- ./src/salomeContext.py
+ ${KERNEL_ROOT_DIR}/bin/salome/salomeContext.py
${KERNEL_ROOT_DIR}/bin/salome/salomeContextUtils.py
${KERNEL_ROOT_DIR}/bin/salome/parseConfigFile.py
)
self.getLogger().warning("Environment variable already existing (and not overwritten): %s=%s", name, value)
return
- #if env:
- # self.getLogger().warning("Overwriting environment variable: %s=%s", name, value)
+ if env:
+ self.getLogger().warning("Overwriting environment variable: %s=%s", name, value)
value = os.path.expandvars(value) # expand environment variables
self.getLogger().debug("Set environment variable: %s=%s", name, value)