Skip to content

Commit

Permalink
Makefile: Use portable !, not GNUish -not, with find(1). (#24565) (#2…
Browse files Browse the repository at this point in the history
…4572)

Backport #24565 by @riastradh

fix #24564

Co-authored-by: Taylor R Campbell <[email protected]>
  • Loading branch information
GiteaBot and Taylor R Campbell authored May 7, 2023
1 parent 2572879 commit 6f57be0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ GO_DIRS := cmd tests models modules routers build services tools
WEB_DIRS := web_src/js web_src/css

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_NO_BINDATA := $(GO_SOURCES)

Expand Down

0 comments on commit 6f57be0

Please sign in to comment.