From bfdfe25ed6aa8b5213751ee7acbb40118cfbdd4e Mon Sep 17 00:00:00 2001 From: David Allsopp Date: Fri, 15 Jun 2018 11:18:15 +0100 Subject: Cosmetic fix to runtime-errors test Makefile --- testsuite/tests/runtime-errors/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/testsuite/tests/runtime-errors/Makefile b/testsuite/tests/runtime-errors/Makefile index b7f05895fb..04ce06958f 100644 --- a/testsuite/tests/runtime-errors/Makefile +++ b/testsuite/tests/runtime-errors/Makefile @@ -30,8 +30,8 @@ compile: $(OCAMLOPT) -w a -o $$F.native$(EXE) $$f; \ fi; \ done - $(if $(findstring win32,$(UNIX_OR_WIN32)),:, \ - @grep -q HAS_STACK_OVERFLOW_DETECTION $(TOPDIR)/byterun/caml/s.h \ + @$(if $(findstring win32,$(UNIX_OR_WIN32)),:, \ + grep -q HAS_STACK_OVERFLOW_DETECTION $(TOPDIR)/byterun/caml/s.h \ || rm -f stackoverflow.native$(EXE)) # Cygwin doesn't allow the stack limit to be changed - the 4096 is -- cgit v1.2.1