Skip to content

Commit 46c5e33

Browse files
authored
Check Bash version (#19)
1 parent e0698d6 commit 46c5e33

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

gh-token

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
#!/usr/bin/env bash
2+
3+
if (( ${BASH_VERSION%%.*} < 5 )); then
4+
echo "Bash is too old: ${BASH_VERSION}; Bash 5.+ is required"
5+
exit 1
6+
fi
7+
28
###############################################################################
39
# * _____ _ *_ _______ * _ * * ** *
410
# / ____| |* | | |__ __| | | * * 🦄 *

0 commit comments

Comments
 (0)