summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--build_all.sh2
-rw-r--r--tools/niminst/buildsh.tmpl2
2 files changed, 2 insertions, 2 deletions
diff --git a/build_all.sh b/build_all.sh
index 701d7d204..7b809b06a 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$*"
   "$@"
 }
 
diff --git a/tools/niminst/buildsh.tmpl b/tools/niminst/buildsh.tmpl
index be6d43754..f0f72888a 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* )