From 4e15dccc734cafa1254a4b85677c68efc880f896 Mon Sep 17 00:00:00 2001 From: BoYanZh Date: Fri, 28 May 2021 20:16:52 +0800 Subject: [PATCH] fix get OS on some of the windows computers --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index 8a27365aa96ce..6304508fb1400 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