summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2017-07-10 02:48:46 +0100
committerLunny Xiao <xiaolunwen@gmail.com>2017-07-10 09:48:46 +0800
commitc016d487357a6bc46d34be1a057f1a50abfeba57 (patch)
tree66203d19114101ef291e3f18bd633a6c241611e9 /Makefile
parent5e9bcb6301f4f1efd05e7866a0823313e371a96f (diff)
downloadgitea-c016d487357a6bc46d34be1a057f1a50abfeba57.tar.gz
gitea-c016d487357a6bc46d34be1a057f1a50abfeba57.zip
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
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 999cced678..bee8712b68 100644
--- a/Makefile
+++ b/Makefile
@@ -17,7 +17,7 @@ BINDATA := modules/{options,public,templates}/bindata.go
STYLESHEETS := $(wildcard public/less/index.less public/less/_*.less)
JAVASCRIPTS :=
DOCKER_TAG := gitea/gitea:latest
-GOFILES := $(shell find . -name "*.go" -type f -not -path "./vendor/*" -not -path "*/bindata.go")
+GOFILES := $(shell find . -name "*.go" -type f ! -path "./vendor/*" ! -path "*/bindata.go")
GOFMT ?= gofmt -s
GOFLAGS := -i -v