manage-tools: ensure PATH is set for ./install scripts such that they can find the ctf-tools scripts

this wasn't the case in a docker container for some reason... It's more robust this way.
This commit is contained in:
Michael Rodler 2018-04-20 15:08:34 +02:00 committed by Yan
parent 3f21e29053
commit 09d49d8bd6

View file

@ -388,9 +388,9 @@ case $ACTION in
# execute install script
set +e
if [ "$VERBOSE_OUTPUT" -eq 1 ]; then
DISTRI=$DISTRI ./install 2>&1 | tee -a install.log
DISTRI=$DISTRI PATH=$CTF_TOOLS_ROOT/bin/:$PATH ./install 2>&1 | tee -a install.log
else
DISTRI=$DISTRI ./install >>install.log 2>&1
DISTRI=$DISTRI PATH=$CTF_TOOLS_ROOT/bin/:$PATH ./install >>install.log 2>&1
fi
INSTALL_FAILED=$?
set -e