Exit script immediately if any command fails

This commit is contained in:
Jonathan Dahan 2022-06-28 11:13:10 -04:00 committed by GitHub
parent 7478c5ffa3
commit 63a65372b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,7 @@
#!/bin/bash #!/bin/bash
set -e
pip install -r requirements.txt pip install -r requirements.txt
mkdir -p pretrained mkdir -p pretrained