1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-19 05:49:52 +08:00

Wrap echo in double quotes

This commit is contained in:
Dan Balasescu
2023-11-28 22:12:23 +09:00
Unverified
parent 537c9e031d
commit 979bbf0d81
+2 -2
View File
@@ -189,8 +189,8 @@ jobs:
COMMENT_BODY: ${{ github.event.comment.body }}
run: |
# Add comment environment
echo $COMMENT_BODY | sed -r 's/\r$//' | grep -E '^\w+=' | while read -r line; do
opt=$(echo ${line} | cut -d '=' -f1)
echo "$COMMENT_BODY" | sed -r 's/\r$//' | grep -E '^\w+=' | while read -r line; do
opt=$(echo "${line}" | cut -d '=' -f1)
sed -i "s;^${opt}=.*$;${line};" "${{ needs.directory.outputs.GENERATOR_ENV }}"
done