1 |
commit: 2ffa184779089f60fb30f471415be4f8c841420d |
2 |
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jul 8 16:58:35 2012 +0000 |
4 |
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jul 8 16:58:35 2012 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=2ffa1847 |
7 |
|
8 |
build-sys: fix installation of files |
9 |
|
10 |
avoid using hash in the sed, the interaction of make with the shell |
11 |
seems to interpret the hash somewhere, despite being quoted, resulting |
12 |
in loss of half of the sed command |
13 |
|
14 |
--- |
15 |
pym/Makefile.in | 5 +---- |
16 |
1 files changed, 1 insertions(+), 4 deletions(-) |
17 |
|
18 |
diff --git a/pym/Makefile.in b/pym/Makefile.in |
19 |
index ce8fa39..f9a9636 100644 |
20 |
--- a/pym/Makefile.in |
21 |
+++ b/pym/Makefile.in |
22 |
@@ -16,14 +16,11 @@ PORTAGE_PYM = @PORTAGE_BASE@/pym |
23 |
INSTALL = @INSTALL@ |
24 |
INSTALL_subst = ${top_builddir}/subst-install |
25 |
|
26 |
-list_sourcedir_dirs = \ |
27 |
- ( cd "$(srcdir)" && find . -name '.git' -prune -o -type d -print | sed 's#^./\?##' ) |
28 |
- |
29 |
all: |
30 |
|
31 |
install: |
32 |
$(INSTALL) -d -m 755 -o "$(portageuser)" -g "$(portagegroup)" $(DESTDIR)$(PORTAGE_PYM) |
33 |
- $(list_sourcedir_dirs) | while read f ; do \ |
34 |
+ ( cd "$(srcdir)" && find . -name '.git' -prune -o -type d -print | sed 's|^./\?||' ) | while read f ; do \ |
35 |
$(INSTALL) -d -m 755 \ |
36 |
-o "$(portageuser)" -g "$(portagegroup)" \ |
37 |
"$(DESTDIR)$(PORTAGE_PYM)/$${f}" && \ |