fix get OS on some of the windows computers (#16007)

This commit is contained in:
BoYanZh authored and GitHub committed 2021-05-29 08:37:21 +01:00
1 parent 461915daa6
commit fb6c6895fa
1 file changed
+3
+3
View File
@@ -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