From 24a9460d82e9a064058bb5489b3583af927fcf64 Mon Sep 17 00:00:00 2001 From: Milan Skocic Date: Fri, 24 Nov 2023 05:31:05 +0100 Subject: [PATCH] BUG: Fix bash issue. --- configure.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.sh b/configure.sh index 5e2ada8..3691364 100755 --- a/configure.sh +++ b/configure.sh @@ -19,7 +19,8 @@ ARCH="${tmp_arr[0]}" IFS="=" while read -r line; do # Reading line by line - if [[ $line == "version"* ]] then + if [[ $line == "version"* ]] + then read -a tmp_arr <<< "$line" VERSION=${tmp_arr[1]:2:5} break