mirror of
				https://github.com/go-gitea/gitea
				synced 2025-11-03 21:08:25 +00:00 
			
		
		
		
	Makefile: Use portable !, not GNUish -not, with find(1). (#24565)
fix https://github.com/go-gitea/gitea/issues/24564 Co-authored-by: Taylor R Campbell <campbell+gitea@mumble.net>
This commit is contained in:
		
							
								
								
									
										2
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								Makefile
									
									
									
									
									
								
							@@ -139,7 +139,7 @@ GO_DIRS := build cmd models modules routers services tests
 | 
				
			|||||||
WEB_DIRS := web_src/js web_src/css
 | 
					WEB_DIRS := web_src/js web_src/css
 | 
				
			||||||
 | 
					
 | 
				
			||||||
GO_SOURCES := $(wildcard *.go)
 | 
					GO_SOURCES := $(wildcard *.go)
 | 
				
			||||||
GO_SOURCES += $(shell find $(GO_DIRS) -type f -name "*.go" -not -path modules/options/bindata.go -not -path modules/public/bindata.go -not -path modules/templates/bindata.go)
 | 
					GO_SOURCES += $(shell find $(GO_DIRS) -type f -name "*.go" ! -path modules/options/bindata.go ! -path modules/public/bindata.go ! -path modules/templates/bindata.go)
 | 
				
			||||||
GO_SOURCES += $(GENERATED_GO_DEST)
 | 
					GO_SOURCES += $(GENERATED_GO_DEST)
 | 
				
			||||||
GO_SOURCES_NO_BINDATA := $(GO_SOURCES)
 | 
					GO_SOURCES_NO_BINDATA := $(GO_SOURCES)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user