From 928fa8dd110647d6d1d69d57956fcabec83a5e63 Mon Sep 17 00:00:00 2001 From: Yonggang Luo Date: Thu, 18 Nov 2021 18:18:41 +0000 Subject: [PATCH] Enable building under msys --- tar_from_installation.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tar_from_installation.sh b/tar_from_installation.sh index 9cb43b3..f90000b 100755 --- a/tar_from_installation.sh +++ b/tar_from_installation.sh @@ -24,6 +24,7 @@ case "$(uname -s)" in Darwin*) MACHINE=macos;; CYGWIN*) MACHINE=cygwin;; MINGW*) MACHINE=mingw;; + MSYS*) MACHINE=msys;; #MSYS_NT-10.0-19043 *) MACHINE="UNKNOWN" esac @@ -34,7 +35,7 @@ fi PKGDIR=build/wasi-sdk-$VERSION rm -rf $PKGDIR -if [ "$MACHINE" == "cygwin" ] || [ "$MACHINE" == "mingw" ]; then +if [ "$MACHINE" == "cygwin" ] || [ "$MACHINE" == "mingw" ] || [ "$MACHINE" == "msys" ]; then # Copy with -L to avoid trying to create symlinks on Windows. cp -R -L $INSTALL_DIR $PKGDIR else