Merge pull request #857 from adrianN/patch-1

Ignore exit code from which in install_macos_pkg
This commit is contained in:
Jeremy Soller 2017-02-24 11:52:13 -07:00 committed by GitHub
commit 9003730a53

View file

@ -26,7 +26,7 @@ install_macos_pkg()
BIN_NAME=$PKG_NAME
fi
BIN_LOCATION=$(which $BIN_NAME)
BIN_LOCATION=$(which $BIN_NAME || true)
if [ -z "$BIN_LOCATION" ]; then
echo "$PKG_MANAGER install $PKG_NAME"
$PKG_MANAGER install "$PKG_NAME"