From 6827fd867b9609c405cd25568aa91df1b0d011b4 Mon Sep 17 00:00:00 2001 From: Martin Panter Date: Tue, 7 Jun 2016 01:07:32 +0000 Subject: Issue #27229: Comment in middle of shell command fails on BSD and OS X --- Makefile.pre.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.pre.in b/Makefile.pre.in index eb88f5f..87528a0 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -790,10 +790,10 @@ $(IO_OBJS): $(IO_H) $(GRAMMAR_H): $(GRAMMAR_INPUT) $(PGEN) @$(MKDIR_P) Include + # Avoid copying the file onto itself for an in-tree build if test "$(cross_compiling)" != "yes"; then \ $(PGEN) $(GRAMMAR_INPUT) $(GRAMMAR_H) $(GRAMMAR_C); \ else \ - # Avoid copying the file onto itself for an in-tree build \ cp $(srcdir)/Include/graminit.h $(GRAMMAR_H).tmp; \ mv $(GRAMMAR_H).tmp $(GRAMMAR_H); \ fi -- cgit v0.12