Skip to content

Commit 50bb6be

Browse files
committed
chore: shellcheck feedback
* Changed `while read line` to `while read -r line` to prevent backslash interpretation.
1 parent a4084eb commit 50bb6be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

generate-dockerfiles.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ curl -O "https://raw.githubusercontent.com/GameServerManagers/LinuxGSM/master/lg
55
echo -n "{" >"shortnamearray.json"
66
echo -n "\"include\":[" >>"shortnamearray.json"
77

8-
while read line; do
8+
while read -r line; do
99
shortname=$(echo "$line" | awk -F, '{ print $1 }')
1010
export shortname
1111
servername=$(echo "$line" | awk -F, '{ print $2 }')

0 commit comments

Comments
 (0)