summaryrefslogtreecommitdiff
path: root/mbuild
diff options
context:
space:
mode:
authorRoman Perepelitsa <roman.perepelitsa@gmail.com>2020-11-17 12:02:15 +0300
committerRoman Perepelitsa <roman.perepelitsa@gmail.com>2020-11-17 12:02:15 +0300
commit790f4719ab3db8d62f8dec6fbb89a91d87e81df0 (patch)
treeaa890c5b8ab3b4f4f5ff293219c94aff312ef892 /mbuild
parentb7167a64c60401b184346147d8297f3803f56e06 (diff)
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
Diffstat (limited to 'mbuild')
-rwxr-xr-xmbuild7
1 files changed, 4 insertions, 3 deletions
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