]> source.dussan.org Git - gitea.git/commitdiff
fix get OS on some of the windows computers (#16007)
authorBoYanZh <bomingzh@sjtu.edu.cn>
Sat, 29 May 2021 07:37:21 +0000 (15:37 +0800)
committerGitHub <noreply@github.com>
Sat, 29 May 2021 07:37:21 +0000 (08:37 +0100)
Makefile

index 8a27365aa96cea311972fb9a1e4b721d6b34a02c..6304508fb1400f308da970ccf92f16e68f13ea08 100644 (file)
--- 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