Skip to content

Commit 377e013

Browse files
riastradhTaylor R Campbell
and
Taylor R Campbell
authored
Makefile: Use portable !, not GNUish -not, with find(1). (#24565)
fix #24564 Co-authored-by: Taylor R Campbell <[email protected]>
1 parent 97b70a0 commit 377e013

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
@@ -139,7 +139,7 @@ GO_DIRS := build cmd models modules routers services tests
139139
WEB_DIRS := web_src/js web_src/css
140140

141141
GO_SOURCES := $(wildcard *.go)
142-
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)
142+
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)
143143
GO_SOURCES += $(GENERATED_GO_DEST)
144144
GO_SOURCES_NO_BINDATA := $(GO_SOURCES)
145145

0 commit comments

Comments
 (0)