mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 10:33:30 +08:00
Wrap echo in double quotes
This commit is contained in:
parent
537c9e031d
commit
979bbf0d81
4
.github/workflows/diffcalc.yml
vendored
4
.github/workflows/diffcalc.yml
vendored
@ -189,8 +189,8 @@ jobs:
|
|||||||
COMMENT_BODY: ${{ github.event.comment.body }}
|
COMMENT_BODY: ${{ github.event.comment.body }}
|
||||||
run: |
|
run: |
|
||||||
# Add comment environment
|
# Add comment environment
|
||||||
echo $COMMENT_BODY | sed -r 's/\r$//' | grep -E '^\w+=' | while read -r line; do
|
echo "$COMMENT_BODY" | sed -r 's/\r$//' | grep -E '^\w+=' | while read -r line; do
|
||||||
opt=$(echo ${line} | cut -d '=' -f1)
|
opt=$(echo "${line}" | cut -d '=' -f1)
|
||||||
sed -i "s;^${opt}=.*$;${line};" "${{ needs.directory.outputs.GENERATOR_ENV }}"
|
sed -i "s;^${opt}=.*$;${line};" "${{ needs.directory.outputs.GENERATOR_ENV }}"
|
||||||
done
|
done
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user