Skip to content

Commit c016d48

Browse files
rsmarpleslunny
authored andcommitted
Use POSIX complaint ! operator in find (#2132)
* Use POSIX complaint ! operator in find -not is a GNU extension and not all find(8) implementations support it. It's just an alias for ! which is POSIX compliant. Now gitea compiles on NetBSD at least. * Revert change in vendor directory as requested
1 parent 5e9bcb6 commit c016d48

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
@@ -17,7 +17,7 @@ BINDATA := modules/{options,public,templates}/bindata.go
1717
STYLESHEETS := $(wildcard public/less/index.less public/less/_*.less)
1818
JAVASCRIPTS :=
1919
DOCKER_TAG := gitea/gitea:latest
20-
GOFILES := $(shell find . -name "*.go" -type f -not -path "./vendor/*" -not -path "*/bindata.go")
20+
GOFILES := $(shell find . -name "*.go" -type f ! -path "./vendor/*" ! -path "*/bindata.go")
2121
GOFMT ?= gofmt -s
2222

2323
GOFLAGS := -i -v

0 commit comments

Comments
 (0)