mirror of
https://github.com/neovim/neovim.git
synced 2024-12-23 20:55:18 -07:00
vim-patch.sh: fix bash version-check message #12398
This commit is contained in:
parent
4b87248285
commit
ed815c61fd
@ -7,7 +7,7 @@ set -p
|
|||||||
|
|
||||||
# Ensure that the user has a bash that supports -A
|
# Ensure that the user has a bash that supports -A
|
||||||
if [[ "${BASH_VERSINFO[0]}" -lt 4 ]]; then
|
if [[ "${BASH_VERSINFO[0]}" -lt 4 ]]; then
|
||||||
echo "This script requires bash version 3 or later (you have ${BASH_VERSION})." >&2
|
>&2 echo "error: script requires bash 4+ (you have ${BASH_VERSION})."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user