automatically detect msys without generating ugly error message on non-msys system
Modified: trunk/reactos/Makefile

Modified: trunk/reactos/Makefile
--- trunk/reactos/Makefile	2005-11-26 02:36:01 UTC (rev 19601)
+++ trunk/reactos/Makefile	2005-11-26 03:01:18 UTC (rev 19602)
@@ -115,7 +115,8 @@
 
 ifeq ($(HOST),)
 ifeq ($(word 1,$(shell gcc -dumpmachine)),mingw32)
-ifeq ($(OSTYPE),msys)
+ifeq ($(findstring msys,$(shell sh --version 2>nul)),msys)
+export OSTYPE = msys
 HOST=mingw32-linux
 else
 HOST=mingw32-windows