From fb6c6895fa10328821d53c0f2d7cb7d6540a2689 Mon Sep 17 00:00:00 2001 From: BoYanZh Date: Sat, 29 May 2021 15:37:21 +0800 Subject: [PATCH] fix get OS on some of the windows computers (#16007) --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index 8a27365aa9..6304508fb1 100644 --- a/Makefile +++ b/Makefile @@ -43,6 +43,9 @@ endif ifeq ($(OS), Windows_NT) GOFLAGS := -v -buildmode=exe EXECUTABLE ?= gitea.exe +else ifeq ($(OS), Windows) + GOFLAGS := -v -buildmode=exe + EXECUTABLE ?= gitea.exe else GOFLAGS := -v EXECUTABLE ?= gitea