From 790f4719ab3db8d62f8dec6fbb89a91d87e81df0 Mon Sep 17 00:00:00 2001 From: Roman Perepelitsa Date: Tue, 17 Nov 2020 10:02:15 +0100 Subject: Squashed 'gitstatus/' changes from f9acc15a..cb363c77 cb363c77 build: use zsh if possible when langued with bash < 4.0 (#188) efb0fd1b make mbuild work with darwin-aarch64 c9e6e608 do not hardcode path to homebrew, retrieve it with `brew --prefix` df4eba94 work around bugs in ancient versions of bash (#188) git-subtree-dir: gitstatus git-subtree-split: cb363c778a37575b0d5371d7e355d80ec7ae5498 --- mbuild | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'mbuild') diff --git a/mbuild b/mbuild index 7d98b1fb..b6f220e0 100755 --- a/mbuild +++ b/mbuild @@ -181,9 +181,10 @@ local build=' function build-unix() { local intro flags=(-sw) case $2 in - linux-ppc64le);; - linux-*) flags+=(-d docker);; - darwin-*) intro='PATH="/usr/local/bin:$PATH"';; + linux-ppc64le) ;; + linux-*) flags+=(-d docker);; + darwin-aarch64) intro='PATH="/opt/homebrew/bin:$PATH"';; + darwin-*) intro='PATH="/usr/local/bin:$PATH"';; esac ssh $1 -- /bin/sh -uex <<<" $intro -- cgit v1.2.3