From bb9c407c958664daef60117c6673345761c34c70 Mon Sep 17 00:00:00 2001 From: Daniel Shahaf Date: Tue, 20 Oct 2015 00:31:40 +0000 Subject: [PATCH] 'make install': Tweak to work with one-shell-per-logical-line 'make' implementations, Tested with 'bmake -B'. Found-by: Carsten Hey --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 44d4923..d77c229 100644 --- a/Makefile +++ b/Makefile @@ -18,14 +18,14 @@ install: fi > $(SHARE_DIR)/.revision-hash test: - @result=0 - @for test in highlighters/*; do \ + @result=0; \ + for test in highlighters/*; do \ if [ -d $$test/test-data ]; then \ echo "Running test $${test##*/}"; \ zsh -f tests/test-highlighting.zsh "$${test##*/}"; \ : $$(( result |= $$? )); \ fi \ - done - @exit $$result + done; \ + exit $$result .PHONY: all install test