Set flag in all scripts to abort execution if command fails (#29)

This commit is contained in:
Oleksandr Chychkan 2021-08-24 20:19:23 -07:00 committed by GitHub
parent e2f58c8720
commit 1279075260
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View File

@ -1,6 +1,8 @@
#!/usr/bin/env bash
cd "$(dirname $0)/.."
set -e
mkdir -p .dfl
mkdir -p workspace

View File

@ -2,3 +2,5 @@ DFL_MAIN=.dfl/DeepFaceLab/main.py
WORKSPACE=workspace
source .dfl/env/bin/activate
set -e