Read-only mirror — the public repositories of the Forgejo instance, refreshed every 10 minutes. The live instance (fg.dieschoenewolke.de) is reachable only over the VPN; clone here with https://git.dieschoenewolke.de/git/<owner>/<repo>.git.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Schindelin <johannes.schindelin@gmx.de>2023-06-09 17:05:29 +0200
committerGitHub <noreply@github.com>2023-06-09 11:05:29 -0400
commitc9ee2550280ba382763bd72bd8065404a3082b18 (patch)
tree098f1d3269d0b622b6c45eb1e944248c2cd5ae2c
parent2285a66f2b022d778ab5f55b1d17e500da5c3de3 (diff)
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>
-rwxr-xr-x__test__/verify-sparse-checkout-non-cone-mode.sh2
-rwxr-xr-x__test__/verify-sparse-checkout.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/__test__/verify-sparse-checkout-non-cone-mode.sh b/__test__/verify-sparse-checkout-non-cone-mode.sh
index 0d5d56f..dae28ed 100755
--- a/__test__/verify-sparse-checkout-non-cone-mode.sh
+++ b/__test__/verify-sparse-checkout-non-cone-mode.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Verify .git folder
if [ ! -d "./sparse-checkout-non-cone-mode/.git" ]; then
diff --git a/__test__/verify-sparse-checkout.sh b/__test__/verify-sparse-checkout.sh
index f668430..a9f7748 100755
--- a/__test__/verify-sparse-checkout.sh
+++ b/__test__/verify-sparse-checkout.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Verify .git folder
if [ ! -d "./sparse-checkout/.git" ]; then