Merge pull request #623 from openziti/docker-instance-fetcher

check bash version earlier
This commit is contained in:
Kenneth Bingham 2024-05-08 16:01:30 -04:00 committed by GitHub
commit c4a4fd1931
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -143,7 +143,6 @@ main() {
;; ;;
esac esac
done done
requireBashVersion
declare -a BINS=(unzip find) declare -a BINS=(unzip find)
for BIN in "${BINS[@]}"; do for BIN in "${BINS[@]}"; do
requireCommand "$BIN" requireCommand "$BIN"
@ -157,4 +156,5 @@ main() {
rm zrok.zip .gitignore fetch.bash rm zrok.zip .gitignore fetch.bash
} }
requireBashVersion
main "${@}" main "${@}"