Visitar URL original
Mark test scripts with Bash'isms to be run via Bash by dscho · Pull Request #1377 · actions/checkout · GitHub
Skip to content

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

Merged
TingluoHuang merged 1 commit into
actions:mainfrom
dscho:fix-sparse-checkout-test-scripts
Jun 9, 2023
Merged

TingluoHuang merged 1 commit into
actions:mainfrom
dscho:fix-sparse-checkout-test-scripts

Conversation

@dscho

@dscho dscho commented Jun 9, 2023

Copy link
Copy Markdown
Contributor

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.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants