More robust setup
Exit on unset variables and pipefails.
This commit is contained in:
parent
3f74e793ad
commit
00876ea5f2
1 changed files with 4 additions and 1 deletions
|
|
@ -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"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue