mirror of
https://github.com/mas-cli/mas
synced 2024-11-25 04:50:24 +00:00
Allow override of prefix
This commit is contained in:
parent
ee1e6f23ea
commit
7180928859
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue