More robust setup

Exit on unset variables and pipefails.
This commit is contained in:
Juergen Hoetzel 2020-06-21 12:59:22 +02:00
parent 3f74e793ad
commit 00876ea5f2

View file

@ -1,4 +1,7 @@
#!/bin/bash -e #!/bin/bash
set -euo pipefail
# Mirror starred Github repos to a Gitea Organization # Mirror starred Github repos to a Gitea Organization
CURL="curl -f" CURL="curl -f"