Allow override of prefix

This commit is contained in:
Ben Chatelain 2018-10-17 16:18:30 -06:00
parent ee1e6f23ea
commit 7180928859

View file

@ -3,6 +3,10 @@
PREFIX=/usr/local
INSTALL_TEMPORARY_FOLDER=/tmp/mas-cli.dst
if test -n "$1"; then
PREFIX="$1"
fi
echo "==> 📲 Installing mas to $PREFIX"
xcodebuild install