changeset: 101773:de5b85f96266 branch: 3.5 parent: 101769:619f7a2aa40a user: Martin Panter date: Tue Jun 07 01:07:32 2016 +0000 files: Makefile.pre.in description: Issue #27229: Comment in middle of shell command fails on BSD and OS X diff -r 619f7a2aa40a -r de5b85f96266 Makefile.pre.in --- a/Makefile.pre.in Tue Jun 07 00:27:17 2016 +0000 +++ b/Makefile.pre.in Tue Jun 07 01:07:32 2016 +0000 @@ -790,10 +790,10 @@ $(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