mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-05 16:35:33 +00:00
11 lines
No EOL
356 B
Bash
Executable file
11 lines
No EOL
356 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
echo "wrap script for arch $(arch)"
|
|
if [[ $(arch) == i386 ]] && [[ -f /usr/local/bin/bash ]]; then
|
|
/usr/local/bin/bash -l "$@" || exit $?
|
|
elif [[ $(arch) == arm64 ]] && [[ -f /opt/homebrew/bin/bash ]]; then
|
|
/opt/homebrew/bin/bash -l "$@" || exit $?
|
|
else
|
|
>&2 echo "Could not start build due to missing homebrew bash"
|
|
exit 55
|
|
fi |