summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2018-05-19 18:10:06 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2018-05-19 18:10:30 -0700
commit6e9af3131fd9852dac5bad5d8d8c93fae4f10257 (patch)
tree68e93dc61dd0421ecd77001b60d95fed566d87a7 /dev-vcs
parentsys-kernel/rt-sources: remove old (diff)
downloadgentoo-6e9af3131fd9852dac5bad5d8d8c93fae4f10257.tar.gz
gentoo-6e9af3131fd9852dac5bad5d8d8c93fae4f10257.tar.bz2
gentoo-6e9af3131fd9852dac5bad5d8d8c93fae4f10257.zip
dev-vcs/git: make perl packlist cleanup work on 32bit
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> Package-Manager: Portage-2.3.33, Repoman-2.3.9
Diffstat (limited to 'dev-vcs')
-rw-r--r--dev-vcs/git/git-2.16.1.ebuild8
-rw-r--r--dev-vcs/git/git-2.16.3.ebuild8
-rw-r--r--dev-vcs/git/git-2.17.0.ebuild10
-rw-r--r--dev-vcs/git/git-9999-r1.ebuild10
-rw-r--r--dev-vcs/git/git-9999-r2.ebuild10
-rw-r--r--dev-vcs/git/git-9999-r3.ebuild10
-rw-r--r--dev-vcs/git/git-9999.ebuild10
7 files changed, 40 insertions, 26 deletions
diff --git a/dev-vcs/git/git-2.16.1.ebuild b/dev-vcs/git/git-2.16.1.ebuild
index 5f587fc48af..ef8239e6b0d 100644
--- a/dev-vcs/git/git-2.16.1.ebuild
+++ b/dev-vcs/git/git-2.16.1.ebuild
@@ -534,9 +534,11 @@ src_install() {
newdoc "${S}"/gitweb/INSTALL INSTALL.gitweb
newdoc "${S}"/gitweb/README README.gitweb
- find "${ED}"/usr/lib64/perl5/ \
- -name .packlist \
- -exec rm \{\} \;
+ for d in "${ED}"/usr/lib{64,}/perl5/ ; do
+ test -d "$d" && find "$d" \
+ -name .packlist \
+ -delete
+ done
else
rm -rf "${ED}"/usr/share/gitweb
fi
diff --git a/dev-vcs/git/git-2.16.3.ebuild b/dev-vcs/git/git-2.16.3.ebuild
index e9f0c242bcf..b1eec131970 100644
--- a/dev-vcs/git/git-2.16.3.ebuild
+++ b/dev-vcs/git/git-2.16.3.ebuild
@@ -534,9 +534,11 @@ src_install() {
newdoc "${S}"/gitweb/INSTALL INSTALL.gitweb
newdoc "${S}"/gitweb/README README.gitweb
- find "${ED}"/usr/lib64/perl5/ \
- -name .packlist \
- -exec rm \{\} \;
+ for d in "${ED}"/usr/lib{64,}/perl5/ ; do
+ test -d "$d" && find "$d" \
+ -name .packlist \
+ -delete
+ done
else
rm -rf "${ED}"/usr/share/gitweb
fi
diff --git a/dev-vcs/git/git-2.17.0.ebuild b/dev-vcs/git/git-2.17.0.ebuild
index 2306f55ec64..ec767a414c4 100644
--- a/dev-vcs/git/git-2.17.0.ebuild
+++ b/dev-vcs/git/git-2.17.0.ebuild
@@ -543,10 +543,12 @@ src_install() {
newdoc "${S}"/gitweb/INSTALL INSTALL.gitweb
newdoc "${S}"/gitweb/README README.gitweb
- find "${ED%/}"/usr/lib64/perl5/ \
- -name .packlist \
- -delete \
- || die
+ for d in "${ED%/}"/usr/lib{,64}/perl5/ ; do
+ test -d "$d" && find "${d}" \
+ -name .packlist \
+ -delete \
+ || die
+ done
else
rm -rf "${ED%/}"/usr/share/gitweb
fi
diff --git a/dev-vcs/git/git-9999-r1.ebuild b/dev-vcs/git/git-9999-r1.ebuild
index 339c9e96dd1..592c262cdb8 100644
--- a/dev-vcs/git/git-9999-r1.ebuild
+++ b/dev-vcs/git/git-9999-r1.ebuild
@@ -543,10 +543,12 @@ src_install() {
newdoc "${S}"/gitweb/INSTALL INSTALL.gitweb
newdoc "${S}"/gitweb/README README.gitweb
- find "${ED%/}"/usr/lib64/perl5/ \
- -name .packlist \
- -delete \
- || die
+ for d in "${ED%/}"/usr/lib{,64}/perl5/ ; do
+ test -d "$d" && find "${d}" \
+ -name .packlist \
+ -delete \
+ || die
+ done
else
rm -rf "${ED%/}"/usr/share/gitweb
fi
diff --git a/dev-vcs/git/git-9999-r2.ebuild b/dev-vcs/git/git-9999-r2.ebuild
index 339c9e96dd1..592c262cdb8 100644
--- a/dev-vcs/git/git-9999-r2.ebuild
+++ b/dev-vcs/git/git-9999-r2.ebuild
@@ -543,10 +543,12 @@ src_install() {
newdoc "${S}"/gitweb/INSTALL INSTALL.gitweb
newdoc "${S}"/gitweb/README README.gitweb
- find "${ED%/}"/usr/lib64/perl5/ \
- -name .packlist \
- -delete \
- || die
+ for d in "${ED%/}"/usr/lib{,64}/perl5/ ; do
+ test -d "$d" && find "${d}" \
+ -name .packlist \
+ -delete \
+ || die
+ done
else
rm -rf "${ED%/}"/usr/share/gitweb
fi
diff --git a/dev-vcs/git/git-9999-r3.ebuild b/dev-vcs/git/git-9999-r3.ebuild
index 339c9e96dd1..592c262cdb8 100644
--- a/dev-vcs/git/git-9999-r3.ebuild
+++ b/dev-vcs/git/git-9999-r3.ebuild
@@ -543,10 +543,12 @@ src_install() {
newdoc "${S}"/gitweb/INSTALL INSTALL.gitweb
newdoc "${S}"/gitweb/README README.gitweb
- find "${ED%/}"/usr/lib64/perl5/ \
- -name .packlist \
- -delete \
- || die
+ for d in "${ED%/}"/usr/lib{,64}/perl5/ ; do
+ test -d "$d" && find "${d}" \
+ -name .packlist \
+ -delete \
+ || die
+ done
else
rm -rf "${ED%/}"/usr/share/gitweb
fi
diff --git a/dev-vcs/git/git-9999.ebuild b/dev-vcs/git/git-9999.ebuild
index 339c9e96dd1..592c262cdb8 100644
--- a/dev-vcs/git/git-9999.ebuild
+++ b/dev-vcs/git/git-9999.ebuild
@@ -543,10 +543,12 @@ src_install() {
newdoc "${S}"/gitweb/INSTALL INSTALL.gitweb
newdoc "${S}"/gitweb/README README.gitweb
- find "${ED%/}"/usr/lib64/perl5/ \
- -name .packlist \
- -delete \
- || die
+ for d in "${ED%/}"/usr/lib{,64}/perl5/ ; do
+ test -d "$d" && find "${d}" \
+ -name .packlist \
+ -delete \
+ || die
+ done
else
rm -rf "${ED%/}"/usr/share/gitweb
fi