From ed815c61fdc3fa5a0873a3f9005fdf3c5c49e8df Mon Sep 17 00:00:00 2001 From: Poh Zi How Date: Mon, 1 Jun 2020 01:27:05 +0800 Subject: [PATCH] vim-patch.sh: fix bash version-check message #12398 --- scripts/vim-patch.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/vim-patch.sh b/scripts/vim-patch.sh index a8b622d5c4..9c4349abca 100755 --- a/scripts/vim-patch.sh +++ b/scripts/vim-patch.sh @@ -7,7 +7,7 @@ set -p # Ensure that the user has a bash that supports -A 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 fi