summaryrefslogtreecommitdiffstats
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)
commited722d9e39199af08dbd7bb6cf62c9720ae5094a (patch)
tree8fad2913527dbfa82b39f557c38d7d07ba2c8092
parentab1455829bf9fa5b1c23cac865c27131fed3e6e0 (diff)
downloadcpython-ed722d9e39199af08dbd7bb6cf62c9720ae5094a.zip
cpython-ed722d9e39199af08dbd7bb6cf62c9720ae5094a.tar.gz
cpython-ed722d9e39199af08dbd7bb6cf62c9720ae5094a.tar.bz2
Issue #27229: Comment in middle of shell command fails on BSD and OS X
-rw-r--r--Makefile.pre.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in
index dd3db04..dffc0b9 100644
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -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