diff --git a/prepare.sh b/prepare.sh index fa42a09..2a88a7f 100755 --- a/prepare.sh +++ b/prepare.sh @@ -1,9 +1,8 @@ #!/usr/bin/env bash -git submodule init -git submodule update -cd tools/mmd -make release -cd build -make -cd ../.. +set +e + +git submodule update --init --recursive + +(cd tools/mmd && make release) +(cd tools/mmd/build && make) diff --git a/upload.sh b/upload.sh index a3586c2..dd5a4ab 100755 --- a/upload.sh +++ b/upload.sh @@ -1,5 +1,7 @@ #!/usr/bin/env bash +set +e + for cur in ./html/{*,*/*,*/*/*}; do if [ -f "$cur" ] && [[ ! "$cur" == *.upload-checksum ]]; then if [ -f "$cur.upload-checksum" ]; then