mirror of
https://github.com/python/cpython.git
synced 2025-11-08 05:39:34 +00:00
Skip directories when installing library files; this avoids problems
when test/output is found (/usr/bin/install chokes on this; no idea why install-sh doesn't).
This commit is contained in:
parent
3593e5c4c3
commit
8e29a59b39
1 changed files with 1 additions and 0 deletions
|
|
@ -308,6 +308,7 @@ libinstall: python $(srcdir)/Lib/$(PLATDIR)
|
||||||
*.py[co]) ;; \
|
*.py[co]) ;; \
|
||||||
*~) ;; \
|
*~) ;; \
|
||||||
*) \
|
*) \
|
||||||
|
if test -d $$i; then continue; fi; \
|
||||||
if test -x $$i; then \
|
if test -x $$i; then \
|
||||||
echo $(INSTALL_PROGRAM) $$i $$b; \
|
echo $(INSTALL_PROGRAM) $$i $$b; \
|
||||||
$(INSTALL_PROGRAM) $$i $$b; \
|
$(INSTALL_PROGRAM) $$i $$b; \
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue