Move DEBUG enablement to the top

This commit is contained in:
Lukáš Kucharczyk 2022-11-15 22:01:29 +01:00
parent a847ff6301
commit 1f6761bf5a
Signed by: lukas
SSH Key Fingerprint: SHA256:vMuSwvwAvcT6htVAioMP7rzzwMQNi3roESyhv+nAxeg
1 changed files with 1 additions and 0 deletions

1
tag.sh
View File

@ -1,5 +1,6 @@
#!/usr/bin/env bash
set -ueo pipefail
[ "${DEBUG:-0}" = "1" ] && set -x
# usage:
# - init - create an empty database
# - import - import $FILE or import $DIR, both can be multiple values