[Python-checkins] cpython (3.5): Issue #27229: Comment in middle of shell command fails on BSD and OS X

martin.panter python-checkins at python.org
Mon Jun 6 21:11:48 EDT 2016


https://hg.python.org/cpython/rev/de5b85f96266
changeset:   101773:de5b85f96266
branch:      3.5
parent:      101769:619f7a2aa40a
user:        Martin Panter <vadmium+py at gmail.com>
date:        Tue Jun 07 01:07:32 2016 +0000
summary:
  Issue #27229: Comment in middle of shell command fails on BSD and OS X

files:
  Makefile.pre.in |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Makefile.pre.in b/Makefile.pre.in
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -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

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list