summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/get.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/scripts/get.sh b/scripts/get.sh
index 895147b6a..e780b34cf 100755
--- a/scripts/get.sh
+++ b/scripts/get.sh
@@ -12,7 +12,11 @@ echo ' > < | \__/ | /_| | < ___/ '
echo ' /_/\_\_|_| |_|\__ \|_|\_\____| getter '
echo ' '
-brew --version >/dev/null 2>&1 && brew install --HEAD xmake && xmake --version && exit
+if [ 'x__local__' != "x$1" ]
+then
+ brew --version >/dev/null 2>&1 && brew install --HEAD xmake && xmake --version && exit
+fi
+
if [ 0 -ne "$(id -u)" ]
then
sudoprefix=sudo