mirror of
https://github.com/mas-cli/mas
synced 2024-11-26 05:20:18 +00:00
🔨 Set PREFIX to /usr/local in install script
Fixes install script when executed in sandbox ==> script/install /opt/homebrew/Cellar/mas/1.8.7-beta.2 script/install: line 16: brew: command not found
This commit is contained in:
parent
b33f7abca4
commit
d3066609d5
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@
|
||||||
ARCH=$(uname -m)
|
ARCH=$(uname -m)
|
||||||
RELEASE=.build/${ARCH}-apple-macosx/release
|
RELEASE=.build/${ARCH}-apple-macosx/release
|
||||||
MAS_VERSION=$(script/version)
|
MAS_VERSION=$(script/version)
|
||||||
PREFIX=$(brew --prefix)
|
PREFIX=/usr/local
|
||||||
|
|
||||||
while test -n "$1"; do
|
while test -n "$1"; do
|
||||||
if [[ "$1" == '--universal' ]]; then
|
if [[ "$1" == '--universal' ]]; then
|
||||||
|
|
Loading…
Reference in a new issue