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 }')