From febdbceab1b0250fd86f6a8b9b9748d1e6b4a7dd Mon Sep 17 00:00:00 2001 From: Mcat12 Date: Wed, 21 Aug 2019 10:03:54 -0400 Subject: [PATCH] Fix error when getting latest FTL tag The headers containing the latest FTL tag were not properly input to the command (`<` vs `<<<`). This caused Bash to try and open the file named after the header string, which does not exist. Signed-off-by: Mcat12 --- automated install/basic-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/automated install/basic-install.sh b/automated install/basic-install.sh index a67fff9c..6af88a57 100755 --- a/automated install/basic-install.sh +++ b/automated install/basic-install.sh @@ -2391,7 +2391,7 @@ FTLcheckUpdate() { return 3 fi - FTLlatesttag=$(grep 'Location' < "${FTLreleaseData}" | awk -F '/' '{print $NF}' | tr -d '\r\n') + FTLlatesttag=$(grep 'Location' <<< "${FTLreleaseData}" | awk -F '/' '{print $NF}' | tr -d '\r\n') if [[ "${FTLversion}" != "${FTLlatesttag}" ]]; then return 0