Skip to content

Commit 6f57be0

Browse files
GiteaBotTaylor R Campbell
and
Taylor R Campbell
authored
Makefile: Use portable !, not GNUish -not, with find(1). (#24565) (#24572)
Backport #24565 by @riastradh fix #24564 Co-authored-by: Taylor R Campbell <[email protected]>
1 parent 2572879 commit 6f57be0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ GO_DIRS := cmd tests models modules routers build services tools
140140
WEB_DIRS := web_src/js web_src/css
141141

142142
GO_SOURCES := $(wildcard *.go)
143-
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)
143+
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)
144144
GO_SOURCES += $(GENERATED_GO_DEST)
145145
GO_SOURCES_NO_BINDATA := $(GO_SOURCES)
146146

0 commit comments

Comments
 (0)