From 8a313e201acbc590e2a6e3548c26a445b7782bc5 Mon Sep 17 00:00:00 2001 From: Alex Brainman Date: Mon, 20 Sep 2010 15:19:13 +1000 Subject: [PATCH] Make.inc: make GOOS detection work on windows R=rsc, Joe Poirier, r CC=golang-dev https://golang.org/cl/2248041 --- src/Make.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Make.inc b/src/Make.inc index aa20e4c707..3544f26ca4 100644 --- a/src/Make.inc +++ b/src/Make.inc @@ -22,7 +22,7 @@ endif GOROOT_FINAL?=$(GOROOT) ifeq ($(GOOS),) -GOOS:=${shell uname | tr A-Z a-z} +GOOS:=${shell uname | tr A-Z a-z | sed 's/mingw/windows/; s/windows.*/windows/'} endif ifeq ($(GOOS),darwin)