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:
Guido van Rossum 1997-12-02 19:18:27 +00:00
parent 3593e5c4c3
commit 8e29a59b39
1 changed files with 1 additions and 0 deletions

View File

@ -308,6 +308,7 @@ libinstall: python $(srcdir)/Lib/$(PLATDIR)
*.py[co]) ;; \
*~) ;; \
*) \
if test -d $$i; then continue; fi; \
if test -x $$i; then \
echo $(INSTALL_PROGRAM) $$i $$b; \
$(INSTALL_PROGRAM) $$i $$b; \