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

This commit is contained in:
BoYanZh 2021-05-29 15:37:21 +08:00 committed by GitHub
parent 461915daa6
commit fb6c6895fa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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