Skip to content

Commit 14dda5f

Browse files
committed
Don't use bashism in checktools.sh
1 parent 11f32b7 commit 14dda5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ci/docker/host-x86_64/x86_64-gnu-tools/checktools.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ python3 "$X_PY" test --stage 2 src/tools/rustfmt
3030
# We set the GC interval to the shortest possible value (0 would be off) to increase the chance
3131
# that bugs which only surface when the GC runs at a specific time are more likely to cause CI to fail.
3232
# This significantly increases the runtime of our test suite, or we'd do this in PR CI too.
33-
if [[ -z "${PR_CI_JOB:-}" ]]; then
33+
if [ -z "${PR_CI_JOB:-}" ]; then
3434
MIRIFLAGS=-Zmiri-provenance-gc=1 python3 "$X_PY" test --stage 2 src/tools/miri
3535
else
3636
python3 "$X_PY" test --stage 2 src/tools/miri

0 commit comments

Comments
 (0)