From: Fabian Groffen Date: Sun, 8 Jul 2012 16:58:35 +0000 (+0200) Subject: build-sys: fix installation of files X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=2ffa184779089f60fb30f471415be4f8c841420d;p=portage.git 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 --- diff --git a/pym/Makefile.in b/pym/Makefile.in index ce8fa3920..f9a963651 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}" && \