This makes bootstrap.sh usable out of the box on FreeBSD.
-- Pietro Cerutti I have pledged to give 10% of income to effective charities and invite you to join me - https://givingwhatwecan.org
>From aa4ddd416e73d14c5e5bdc6ad4da5647fe34bead Mon Sep 17 00:00:00 2001 From: Pietro Cerutti <[email protected]> Date: Tue, 22 Oct 2024 10:13:12 +0000 Subject: [PATCH] Use fetch and gmake on FreeBSD, gmake on all BSDs --- scripts/bootstrap.sh | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/scripts/bootstrap.sh b/scripts/bootstrap.sh index 370292db..1f1c9822 100755 --- a/scripts/bootstrap.sh +++ b/scripts/bootstrap.sh @@ -4,16 +4,14 @@ set -e # build 6.0.0-bootstrap tarball +getcmd=wget +mkcmd=make case "$(uname)" in FreeBSD) - mkcmd=gmake - getcmd=fetch;; + getcmd=fetch + mkcmd=gmake;; *BSD) - mkcmd=gmake - getcmd=wget;; - *) - mkcmd=make - getcmd=wget;; + mkcmd=gmake;; esac mkdir -p boot/snapshot -- 2.46.1
