From 91b4a91661b52ba590b3378a3e2ddbc08eee615e Mon Sep 17 00:00:00 2001 From: Martin Desrumaux Date: Tue, 5 Jan 2021 15:36:22 +0100 Subject: [PATCH] fix(setup_lib.sh): Exit when any command fails --- build/local/setup_lib.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build/local/setup_lib.sh b/build/local/setup_lib.sh index c77424f..6f532a3 100755 --- a/build/local/setup_lib.sh +++ b/build/local/setup_lib.sh @@ -1,5 +1,8 @@ #!/bin/bash +# Exit when any command fails +set -e + for module in `ls /srv/lib/`; do cd /srv/lib/$module if [ -f 'requirements.txt' ]; then -- 2.39.5