summary refs log tree commit diff stats
path: root/Makefile
diff options
context:
space:
mode:
authorKlemens Nanni <kl3@posteo.org>2018-02-05 19:42:08 +0100
committerhut <hut@hut.pm>2018-02-05 20:04:17 +0100
commit08e43b29066c886cf4f7461dc573aaf74307d35d (patch)
tree9b4842fed16639fe14ac9013c23e5285a4c3206c /Makefile
parentafdd6aafcc0654424f8901e8aa83948382ef7bd2 (diff)
downloadranger-08e43b29066c886cf4f7461dc573aaf74307d35d.tar.gz
Replace -not operator with POSIX compliant !
This ensures compatibility with non-GNU implementations like OpenBSD's
find(1).

-and is already implied by juxtaposition, thus remove it.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 99d3f53e..47e2fa01 100644
--- a/Makefile
+++ b/Makefile
@@ -67,9 +67,9 @@ doc: cleandoc
 
 TEST_PATHS_MAIN = \
 	$(shell find ./ranger -mindepth 1 -maxdepth 1 -type d \
-		-and -not -name '__pycache__' \
-		-and -not -path './ranger/config' \
-		-and -not -path './ranger/data' \
+		! -name '__pycache__' \
+		! -path './ranger/config' \
+		! -path './ranger/data' \
 	) \
 	./ranger/__init__.py \
 	$(shell find ./doc/tools ./examples -type f -name '*.py') \