From: Guido van Rossum Date: Tue, 2 Dec 1997 19:18:27 +0000 (+0000) Subject: Skip directories when installing library files; this avoids problems X-Git-Tag: v1.5b2~136 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8e29a59b39c9264fac6551aa6a67eeb7fa1b675e;p=python 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). --- diff --git a/Makefile.in b/Makefile.in index 564dce20db..1affa8a305 100644 --- a/Makefile.in +++ b/Makefile.in @@ -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; \