commit: 28b2121d610161cbd23e2ff011fc31e039b2e6fb
parent 77fd38a21cc0f9f4fa13a34fb86c65318254b248
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Fri, 30 Aug 2024 10:59:58 +0200
Makefile: Stop using parens against test(1)
Removed in POSIX.1-2024
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
@@ -47,7 +47,7 @@ check_status:
.PHONY: check-man
check-man:
- err=0; for i in $(EXE); do if test ! '(' -f $$i.1 -o -f $$i.1.in ')'; then echo "$$i.1: missing manpage"; err=1; fi; done; exit $$err
+ err=0; for i in $(EXE); do if test ! -f $$i.1 && test ! -f $$i.1.in; then echo "$$i: missing manpage"; err=1; fi; done; exit $$err
.PHONY: lint
lint: $(MAN1SO)