scripts : add pipefail

This commit is contained in:
Georgi Gerganov 2023-08-29 10:50:30 +03:00
parent 95b6e5212f
commit 611363ac79
3 changed files with 3 additions and 0 deletions

View File

@ -20,6 +20,7 @@ fi
model="$1"
out="../tmp/results-${model}"
set -o pipefail
set -e
mkdir -p ${out}

View File

@ -20,6 +20,7 @@ fi
model="$1"
out="../tmp/results-${model}"
set -o pipefail
set -e
mkdir -p ${out}

View File

@ -17,6 +17,7 @@ if [ ! -z "$3" ]; then
args="$3"
fi
set -o pipefail
set -e
model="$1"