summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorriastradh <campbell+github@mumble.net>2023-05-07 04:41:33 +0000
committerGitHub <noreply@github.com>2023-05-07 12:41:33 +0800
commit377e0139b0233f2b5419af42ad783f82cf9ce0ba (patch)
tree4666867da3a36e2fa632c218421926b49d18e61e /Makefile
parent97b70a0cd40e8f73cdf6ba4397087b45061de3d8 (diff)
downloadgitea-377e0139b0233f2b5419af42ad783f82cf9ce0ba.tar.gz
gitea-377e0139b0233f2b5419af42ad783f82cf9ce0ba.zip
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>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 5192d2c5a6..6a03875b79 100644
--- a/Makefile
+++ b/Makefile
@@ -139,7 +139,7 @@ GO_DIRS := build cmd models modules routers services tests
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)