]> granicus.if.org Git - python/commitdiff
Skip directories when installing library files; this avoids problems
authorGuido van Rossum <guido@python.org>
Tue, 2 Dec 1997 19:18:27 +0000 (19:18 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 2 Dec 1997 19:18:27 +0000 (19:18 +0000)
when test/output is found (/usr/bin/install chokes on this; no idea
why install-sh doesn't).

Makefile.in

index 564dce20dbdbf1df2b1b6b682b2cc63ca420f344..1affa8a305e82c02bff5e9906784b87080d6e464 100644 (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; \