We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f20fd6c commit e6f07edCopy full SHA for e6f07ed
template/script.sh
@@ -901,6 +901,10 @@ function Script:meta() {
901
[[ -n "${FISH_VERSION:-}" ]] && shell_brand="fish" && shell_version="$FISH_VERSION"
902
[[ -n "${KSH_VERSION:-}" ]] && shell_brand="ksh" && shell_version="$KSH_VERSION"
903
IO:debug "$info_icon Shell type : $shell_brand - version $shell_version"
904
+ if [[ "$shell_brand" == "bash" && "${BASH_VERSINFO:-0}" -lt 4 ]]; then
905
+ IO:die "Bash version 4 or higher is required - current version = $BASH_VERSINFO"
906
+ fi
907
+
908
909
os_kernel=$(uname -s)
910
os_version=$(uname -r)
0 commit comments