From ab75061204f5c1beaf2a03f4a5dfbf22f5e7e489 Mon Sep 17 00:00:00 2001 From: andreivladbrg Date: Thu, 14 Dec 2023 14:07:34 +0200 Subject: [PATCH] style: increase readability at bash version check --- shell/deploy-multi-chains.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/shell/deploy-multi-chains.sh b/shell/deploy-multi-chains.sh index 8e4b37232..aad6aa785 100755 --- a/shell/deploy-multi-chains.sh +++ b/shell/deploy-multi-chains.sh @@ -68,7 +68,9 @@ fi # Check: required Bash >=4.0.0 for associative arrays if ((BASH_VERSINFO[0] < 4)); then - echo -e "${EC}Error:\nThis script requires Bash version 4.0.0 or higher.\nYou are currently using Bash version ${BASH_VERSINFO[0]}.${BASH_VERSINFO[1]}.${BASH_VERSINFO[2]}.\nPlease upgrade your Bash version and try again.${NC}" + echo -e "${EC}Error:\nThis script requires Bash version 4.0.0 or higher. + \nYou are currently using Bash version ${BASH_VERSINFO[0]}.${BASH_VERSINFO[1]}.${BASH_VERSINFO[2]}. + \nPlease upgrade your Bash version and try again.${NC}" exit 1 fi