public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Fabian Groffen" <grobian@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/portage:prefix commit in: pym/
Date: Sun,  8 Jul 2012 17:00:45 +0000 (UTC)	[thread overview]
Message-ID: <1341766715.2ffa184779089f60fb30f471415be4f8c841420d.grobian@gentoo> (raw)

commit:     2ffa184779089f60fb30f471415be4f8c841420d
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Sun Jul  8 16:58:35 2012 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Sun Jul  8 16:58:35 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=2ffa1847

build-sys: fix installation of files

avoid using hash in the sed, the interaction of make with the shell
seems to interpret the hash somewhere, despite being quoted, resulting
in loss of half of the sed command

---
 pym/Makefile.in |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

diff --git a/pym/Makefile.in b/pym/Makefile.in
index ce8fa39..f9a9636 100644
--- a/pym/Makefile.in
+++ b/pym/Makefile.in
@@ -16,14 +16,11 @@ PORTAGE_PYM = @PORTAGE_BASE@/pym
 INSTALL = @INSTALL@
 INSTALL_subst = ${top_builddir}/subst-install
 
-list_sourcedir_dirs = \
-	( cd "$(srcdir)" && find . -name '.git' -prune -o -type d -print | sed 's#^./\?##' )
-
 all:
 
 install:
 	$(INSTALL) -d -m 755 -o "$(portageuser)" -g "$(portagegroup)" $(DESTDIR)$(PORTAGE_PYM)
-	$(list_sourcedir_dirs) | while read f ; do \
+	( cd "$(srcdir)" && find . -name '.git' -prune -o -type d -print | sed 's|^./\?||' ) | while read f ; do \
 		$(INSTALL) -d -m 755 \
 			-o "$(portageuser)" -g "$(portagegroup)" \
 			"$(DESTDIR)$(PORTAGE_PYM)/$${f}" && \



             reply	other threads:[~2012-07-08 17:01 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-08 17:00 Fabian Groffen [this message]
  -- strict thread matches above, loose matches on Subject: below --
2014-04-22 20:30 [gentoo-commits] proj/portage:prefix commit in: pym/ Fabian Groffen
2014-04-22 20:14 Fabian Groffen
2012-04-27 15:53 Fabian Groffen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1341766715.2ffa184779089f60fb30f471415be4f8c841420d.grobian@gentoo \
    --to=grobian@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox