Skip to content

Commit 0c7bd37

Browse files
committed
Fix shell quoting
1 parent 7c0a1c6 commit 0c7bd37

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -220,10 +220,10 @@ jobs:
220220
221221
- name: Create run-tests script
222222
run: |
223-
echo > run-tests.sh << EOF
223+
echo > run-tests.sh << 'EOF'
224224
#!/bin/sh -ex
225-
ORG=$(echo $1 | cut -f '/' -d 1)
226-
PACKAGE=$(echo $1 | cut -f '/' -d 2)
225+
ORG=$(echo "${1}" | cut -f '/' -d 1)
226+
PACKAGE=$(echo "${1}" | cut -f '/' -d 2)
227227
228228
git clone https://github.com/${ORG}/${PACKAGE}
229229
cd ${PACKAGE}

0 commit comments

Comments
 (0)