Update setup.sh to correctly exit if ta-lib fails

part of #5734
This commit is contained in:
Matthias 2021-10-17 19:23:51 +02:00
parent e09ec6e6b3
commit 00fc38a5dc

View File

@ -95,7 +95,15 @@ function install_talib() {
return
fi
cd build_helpers && ./install_ta-lib.sh && cd ..
cd build_helpers && ./install_ta-lib.sh
if [ $? -ne 0 ]; then
echo "Quitting. Please fix the above error before continuing."
cd ..
exit 1
fi;
cd ..
}
function install_mac_newer_python_dependencies() {