mirror of
https://github.com/avatao-content/test-tutorial-framework
synced 2024-11-14 22:07:17 +00:00
Fix output broken by trap & status code fix
This commit is contained in:
parent
d4931b0727
commit
b7cfbc9593
@ -55,12 +55,12 @@ check_dependencies()
|
|||||||
missing="0"
|
missing="0"
|
||||||
for dep in ${dependencies[@]}; do
|
for dep in ${dependencies[@]}; do
|
||||||
if ! type "$dep" > /dev/null 2>&1; then
|
if ! type "$dep" > /dev/null 2>&1; then
|
||||||
echo "Dependency '${dep}' not found!"
|
logged echo "Dependency '${dep}' not found!"
|
||||||
missing="1"
|
missing="1"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
if [ "$missing" == "1" ]; then
|
if [ "$missing" == "1" ]; then
|
||||||
echo "Please install the missing packages and retry!"
|
logged echo "Please install the missing packages and retry!"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user