mirror of
				https://github.com/go-gitea/gitea
				synced 2025-11-04 13:28:25 +00:00 
			
		
		
		
	fix get OS on some of the windows computers (#16007)
This commit is contained in:
		
							
								
								
									
										3
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										3
									
								
								Makefile
									
									
									
									
									
								
							@@ -43,6 +43,9 @@ endif
 | 
				
			|||||||
ifeq ($(OS), Windows_NT)
 | 
					ifeq ($(OS), Windows_NT)
 | 
				
			||||||
	GOFLAGS := -v -buildmode=exe
 | 
						GOFLAGS := -v -buildmode=exe
 | 
				
			||||||
	EXECUTABLE ?= gitea.exe
 | 
						EXECUTABLE ?= gitea.exe
 | 
				
			||||||
 | 
					else ifeq ($(OS), Windows)
 | 
				
			||||||
 | 
						GOFLAGS := -v -buildmode=exe
 | 
				
			||||||
 | 
						EXECUTABLE ?= gitea.exe
 | 
				
			||||||
else
 | 
					else
 | 
				
			||||||
	GOFLAGS := -v
 | 
						GOFLAGS := -v
 | 
				
			||||||
	EXECUTABLE ?= gitea
 | 
						EXECUTABLE ?= gitea
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user