1
0
Fork 0
mirror of https://code.forgejo.org/actions/checkout.git synced 2024-11-30 16:09:16 +01:00

Mark test scripts with Bash'isms to be run via Bash (#1377)

In #1369, I mistakenly replaced the hash-bang lines in the two new
scripts with `#!/bin/sh`, missing that both files contain the Bash'ism
`[[`. Symptom as per
https://github.com/actions/checkout/actions/runs/5200323109/jobs/9378889172?pr=1369#step:12:5

    __test__/verify-sparse-checkout.sh: 58: [[: not found

Let's change those hash-bang lines back to `#!/bin/bash`.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
This commit is contained in:
Johannes Schindelin 2023-06-09 17:05:29 +02:00 committed by GitHub
parent c85c95e3d7
commit 96f53100ba
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -1,4 +1,4 @@
#!/bin/sh #!/bin/bash
# Verify .git folder # Verify .git folder
if [ ! -d "./sparse-checkout-non-cone-mode/.git" ]; then if [ ! -d "./sparse-checkout-non-cone-mode/.git" ]; then

View file

@ -1,4 +1,4 @@
#!/bin/sh #!/bin/bash
# Verify .git folder # Verify .git folder
if [ ! -d "./sparse-checkout/.git" ]; then if [ ! -d "./sparse-checkout/.git" ]; then