From 998a7cb0167ae57d656d46a0397ca50e89b1ca40 Mon Sep 17 00:00:00 2001 From: Piero Toffanin Date: Wed, 17 Nov 2021 11:20:34 -0500 Subject: [PATCH] Fail if pip deps fail to install --- configure.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.sh b/configure.sh index 47c0a69f..91d50b57 100755 --- a/configure.sh +++ b/configure.sh @@ -127,11 +127,12 @@ installreqs() { echo "Installing OpenMVS Dependencies" installdepsfromsnapcraft build openmvs - + set -e pip install --ignore-installed -r requirements.txt if [ ! -z "$GPU_INSTALL" ]; then pip install --ignore-installed -r requirements.gpu.txt fi + set +e } install() {