From 4e38767320b256079c10c6edf9dfa3f0fca5c990 Mon Sep 17 00:00:00 2001 From: bjorn3 <17426603+bjorn3@users.noreply.github.com> Date: Thu, 12 Sep 2024 19:35:48 +0000 Subject: [PATCH] Use plain sh for y.sh, test.sh and clean_all.sh FreeBSD by default doesn't install bash. --- .cirrus.yml | 2 +- clean_all.sh | 2 +- test.sh | 2 +- y.sh | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.cirrus.yml b/.cirrus.yml index 5a464bfac364..0e790e469eb1 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -3,7 +3,7 @@ task: freebsd_instance: image: freebsd-13-2-release-amd64 setup_rust_script: - - pkg install -y git bash binutils + - pkg install -y git binutils - curl https://sh.rustup.rs -sSf --output rustup.sh - sh rustup.sh --default-toolchain none -y --profile=minimal target_cache: diff --git a/clean_all.sh b/clean_all.sh index 139d236af2b4..4dbd9dac94a8 100755 --- a/clean_all.sh +++ b/clean_all.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/bin/sh set -e rm -rf target/ build_system/target download/ build/ dist/ diff --git a/test.sh b/test.sh index 6357eebf0269..6c07c512ef29 100755 --- a/test.sh +++ b/test.sh @@ -1,2 +1,2 @@ -#!/usr/bin/env bash +#!/bin/sh exec ./y.sh test "$@" diff --git a/y.sh b/y.sh index b9152d2cc6de..a70d457341b9 100755 --- a/y.sh +++ b/y.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/bin/sh set -e echo "[BUILD] build system" 1>&2