[Python-checkins] cpython (2.7): 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/ec214654708f
changeset: 101772:ec214654708f
branch: 2.7
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
@@ -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
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list