From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id EEF6C138A1F for ; Tue, 22 Apr 2014 20:30:41 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DC4C7E09B3; Tue, 22 Apr 2014 20:30:37 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 739E0E09B3 for ; Tue, 22 Apr 2014 20:30:37 +0000 (UTC) Received: from spoonbill.gentoo.org (spoonbill.gentoo.org [81.93.255.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 00B0C33FF0A for ; Tue, 22 Apr 2014 20:30:36 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by spoonbill.gentoo.org (Postfix) with ESMTP id 86D8B1818D for ; Tue, 22 Apr 2014 20:30:34 +0000 (UTC) From: "Fabian Groffen" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Fabian Groffen" Message-ID: <1398198624.58f7be0fe8ba7c8419a389681a7ea22555545215.grobian@gentoo> Subject: [gentoo-commits] proj/portage:prefix commit in: pym/ X-VCS-Repository: proj/portage X-VCS-Files: pym/Makefile.in X-VCS-Directories: pym/ X-VCS-Committer: grobian X-VCS-Committer-Name: Fabian Groffen X-VCS-Revision: 58f7be0fe8ba7c8419a389681a7ea22555545215 X-VCS-Branch: prefix Date: Tue, 22 Apr 2014 20:30:34 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 80e356e4-9552-4c6b-918b-b785d715b12a X-Archives-Hash: 0141ccdc78046c62f1be01065f6b74f3 commit: 58f7be0fe8ba7c8419a389681a7ea22555545215 Author: Fabian Groffen gentoo org> AuthorDate: Tue Apr 22 20:30:24 2014 +0000 Commit: Fabian Groffen gentoo org> CommitDate: Tue Apr 22 20:30:24 2014 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=58f7be0f pym: be more careful installing ALL files --- pym/Makefile.in | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/pym/Makefile.in b/pym/Makefile.in index c1025f6..dad4ed3 100644 --- a/pym/Makefile.in +++ b/pym/Makefile.in @@ -21,13 +21,19 @@ all: install: $(INSTALL) -d -m 755 -o "$(portageuser)" -g "$(portagegroup)" $(DESTDIR)$(PORTAGE_PYM) ( cd "$(srcdir)" && find * -type d ) | while read f ; do \ + files=( ) ; \ + for t in "$(srcdir)/$${f}"/* ; do \ + [[ -d $${t} ]] && continue ; \ + [[ $${t} == */Makefile* ]] && continue ; \ + files=( "$${files[@]}" "$${t}" ) ; \ + done ; \ $(INSTALL) -d -m 755 \ -o "$(portageuser)" -g "$(portagegroup)" \ "$(DESTDIR)$(PORTAGE_PYM)/$${f}" && \ $(INSTALL_subst) \ -o "$(portageuser)" -g "$(portagegroup)" \ -t "$(DESTDIR)$(PORTAGE_PYM)/$${f}" \ - "$(srcdir)/$${f}"/* \ + "$${files[@]}" \ ; done .PHONY: all install