summaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2017-08-19 19:43:51 (GMT)
committerGitHub <noreply@github.com>2017-08-19 19:43:51 (GMT)
commit434c205e89f9d4e06d0210ae8504fb6a88a11d00 (patch)
tree5c381b037991f0ef5a46bf539e83122894c84887 /bootstrap
parent73e8b0b228e29f6cac1b186cbcb7e3d1a47711ac (diff)
parentd26dc5d5f5509232e7bd162baa70697c86307079 (diff)
Merge pull request #803 from stilor/upgrades
Various package upgrades
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap6
1 files changed, 6 insertions, 0 deletions
diff --git a/bootstrap b/bootstrap
index f5784cd..d01a7de 100755
--- a/bootstrap
+++ b/bootstrap
@@ -1,5 +1,11 @@
#!/bin/bash
+if [ "${BASH_VERSINFO[0]}" -lt 4 ]; then
+ echo "Your BASH shell version (${BASH_VERSION}) is too old." >&2
+ echo "Run bootstrap on a machine with BASH 4.x" >&2
+ exit 1
+fi
+
########################################
# Common meta-language implementation. Syntax:
#