Skip to content
Snippets Groups Projects
Commit a33f795d authored by Stéphane Diemer's avatar Stéphane Diemer
Browse files

Log envsetup version in launcher (refs #23445).

parent 57db367d
No related branches found
No related tags found
No related merge requests found
......@@ -11,10 +11,17 @@ set -e
# 3. launcher.sh
# log
LOGFILE=/root/$(date +%F)_envsetup.log
exec > >(tee -i ${LOGFILE})
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
mkdir -p "${DIR}/log"
LOG_FILE="${DIR}/log/launcher_$(date +%F).log"
exec > >(tee -i ${LOG_FILE})
## envsetup action calls
# log envsetup version
version="$( cd "${DIR}" && git log -1 --pretty='format:%H %ad' --date=iso )"
echo "Envsetup version:"
echo "$version"
# envsetup action calls
init() {
python3 /root/envsetup/envsetup.py 31
python3 /root/envsetup/envsetup.py 32
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment