mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-02-21 09:21:52 +00:00
Require bash4 to run bootstrap
Fixes #797 (or, at least makes it fail gracefully with an advice) Signed-off-by: Alexey Neyman <stilor@att.net>
This commit is contained in:
parent
be399f1046
commit
2dfa203872
@ -1,5 +1,11 @@
|
|||||||
#!/bin/bash
|
#!/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:
|
# Common meta-language implementation. Syntax:
|
||||||
#
|
#
|
||||||
|
Loading…
x
Reference in New Issue
Block a user