From: Rudolf Polzer <rpolzer@grawp.(none)>
Date: Sun, 11 Apr 2010 10:23:32 +0000 (+0200)
Subject: add another uname prefix to detect Windows (seen that somewhere)
X-Git-Tag: xonotic-v0.1.0preview~503
X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=4ece547f4f5694b5ffb75c10c1e15b272bae1de7;p=xonotic%2Fxonotic.git

add another uname prefix to detect Windows (seen that somewhere)
---

diff --git a/all b/all
index f36fdde2..1cd8124a 100755
--- a/all
+++ b/all
@@ -18,7 +18,7 @@ SELF="$d0/all"
 case "$0" in
 	all|*/all)
 		case "`uname`" in
-			MINGW*)
+			MINGW*|Win*)
 				# Windows hates users. So this script has to copy itself elsewhere first...
 				tname=
 				cp "$SELF" ../all.xonotic.sh