to set a message for future fix, as temporary problem to not forget:
DBG.tofix("aTitle", aVariable, True/False) #True/False in production shown, or not
+
+in command line interface you could redirect stderr to file 'myDebug.log':
+>> sat compile ... 2> myDebug.log # only stderr
+>> sat compile ... &> myDebug.log # stdout and stderr
"""
import os
DBG.tofix(msg, config.PATHS.ARCHIVEPATH) #avoid 2 messages in compile
prod_info.archive_info.archive_name = arch_name #without path
# raise src.SatException(msg) #may be a warning, continue #8646
- prod_info.archive_info.archive_name = arch_path
+ else:
+ prod_info.archive_info.archive_name = arch_path
+
# If the product compiles with a script, check the script existence
# and if it is executable