]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Issue #27229: Comment in middle of shell command fails on BSD and OS X
authorMartin Panter <vadmium+py@gmail.com>
Tue, 7 Jun 2016 01:07:32 +0000 (01:07 +0000)
committerMartin Panter <vadmium+py@gmail.com>
Tue, 7 Jun 2016 01:07:32 +0000 (01:07 +0000)
Makefile.pre.in

index dd3db0461c56820f42646bf68a00caa032291d16..dffc0b9973110401d1ae868ffaae531eddf42a08 100644 (file)
@@ -682,10 +682,10 @@ Modules/pwdmodule.o: $(srcdir)/Modules/pwdmodule.c $(srcdir)/Modules/posixmodule
 
 $(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