From ddec1f744506c7540ddb3c265fb893fb1cfa1f3c Mon Sep 17 00:00:00 2001 From: Kenneth Bingham Date: Wed, 8 May 2024 12:37:52 -0400 Subject: [PATCH] check bash version earlier --- docker/compose/zrok-instance/fetch.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/compose/zrok-instance/fetch.bash b/docker/compose/zrok-instance/fetch.bash index 762f081e..b1ac836f 100755 --- a/docker/compose/zrok-instance/fetch.bash +++ b/docker/compose/zrok-instance/fetch.bash @@ -143,7 +143,6 @@ main() { ;; esac done - requireBashVersion declare -a BINS=(unzip find) for BIN in "${BINS[@]}"; do requireCommand "$BIN" @@ -157,4 +156,5 @@ main() { rm zrok.zip .gitignore fetch.bash } +requireBashVersion main "${@}"