From 9db92530de15b75ac2e1a7dcfe8a6f46513d2ffa Mon Sep 17 00:00:00 2001 From: valtron Date: Mon, 1 Oct 2018 10:27:13 -0600 Subject: [PATCH 1/2] fix: echo "\n" not portable --- build_all.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build_all.sh b/build_all.sh index 701d7d2042..7b809b06ab 100644 --- a/build_all.sh +++ b/build_all.sh @@ -6,7 +6,7 @@ set -u # error on undefined variables set -e # exit on first error echo_run(){ - echo "\n$@" + printf "\n$*" "$@" } From 78078ea6b46868c5a66f409cf5b3c7ed8ec4c268 Mon Sep 17 00:00:00 2001 From: valtron Date: Mon, 1 Oct 2018 10:30:52 -0600 Subject: [PATCH 2/2] detect msys "os" --- tools/niminst/buildsh.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/niminst/buildsh.tmpl b/tools/niminst/buildsh.tmpl index be6d437546..f0f72888a5 100644 --- a/tools/niminst/buildsh.tmpl +++ b/tools/niminst/buildsh.tmpl @@ -119,7 +119,7 @@ case $uos in myos="haiku" LINK_FLAGS="$LINK_FLAGS -lroot -lnetwork" ;; - *mingw* ) + *mingw* | *msys* ) myos="windows" ;; *android* )