From 12f9fbd2cb931925cde1ce78edb5659a4c343f84 Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Mon, 15 May 2023 22:58:12 +0100 Subject: [PATCH] codacy --- .github/workflows/detals-check-generate-matrix.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/detals-check-generate-matrix.sh b/.github/workflows/detals-check-generate-matrix.sh index 3b45738bc..66f2bd072 100755 --- a/.github/workflows/detals-check-generate-matrix.sh +++ b/.github/workflows/detals-check-generate-matrix.sh @@ -5,7 +5,7 @@ curl "https://raw.githubusercontent.com/GameServerManagers/LinuxGSM/master/lgsm/ echo -n "{" > "shortnamearray.json" echo -n "\"include\":[" >> "shortnamearray.json" -while read line; do +while read -r line; do shortname=$(echo "$line" | awk -F, '{ print $1 }') export shortname servername=$(echo "$line" | awk -F, '{ print $2 }')