summaryrefslogtreecommitdiffstats
path: root/Makefile.pre.in
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2016-06-07 01:07:32 (GMT)
committerMartin Panter <vadmium+py@gmail.com>2016-06-07 01:07:32 (GMT)
commit6827fd867b9609c405cd25568aa91df1b0d011b4 (patch)
tree157972ad5f3ab17e2dc6230295cb635f77776d17 /Makefile.pre.in
parent9c2a8f97da41e230bcd25bf169d254ee74be2f6a (diff)
downloadcpython-6827fd867b9609c405cd25568aa91df1b0d011b4.zip
cpython-6827fd867b9609c405cd25568aa91df1b0d011b4.tar.gz
cpython-6827fd867b9609c405cd25568aa91df1b0d011b4.tar.bz2
Issue #27229: Comment in middle of shell command fails on BSD and OS X
Diffstat (limited to 'Makefile.pre.in')
-rw-r--r--Makefile.pre.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in
index eb88f5f..87528a0 100644
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -790,10 +790,10 @@ $(IO_OBJS): $(IO_H)
$(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