mirror of
https://github.com/zardus/ctf-tools
synced 2024-12-12 05:52:33 +00:00
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:
parent
3f21e29053
commit
09d49d8bd6
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue