From 6dfbd5462cfc6637dfafe7ea3623e848872ea86c Mon Sep 17 00:00:00 2001 From: klzgrad Date: Fri, 11 Jan 2019 13:49:14 +0000 Subject: [PATCH] Update build.sh to MSYS --- src/get-clang.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/get-clang.sh b/src/get-clang.sh index c4e3041710..c1c3252f5d 100755 --- a/src/get-clang.sh +++ b/src/get-clang.sh @@ -2,8 +2,9 @@ set -ex ARCH=$(uname) -case "$ARCH" in MINGW*) - ARCH=Windows +case "$ARCH" in + MINGW*) ARCH=Windows;; + MSYS*) ARCH=Windows;; esac # Clang @@ -36,7 +37,7 @@ if [ "$ARCH" = Windows ]; then ./rustup-init.exe -y -v --no-modify-path fi if ! which sccache >/dev/null 2>&1; then - cargo install --git https://github.com/mozilla/sccache.git --debug + cargo install --git https://github.com/mozilla/sccache.git fi fi