changeset: 101772:ec214654708f branch: 2.7 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 ffed402528c7 -r ec214654708f 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 @@ -682,10 +682,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