summaryrefslogtreecommitdiff
path: root/dev-vcs/git/git-9999-r3.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'dev-vcs/git/git-9999-r3.ebuild')
-rw-r--r--dev-vcs/git/git-9999-r3.ebuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/dev-vcs/git/git-9999-r3.ebuild b/dev-vcs/git/git-9999-r3.ebuild
index 592c262cdb86..259fc34ecd4e 100644
--- a/dev-vcs/git/git-9999-r3.ebuild
+++ b/dev-vcs/git/git-9999-r3.ebuild
@@ -544,10 +544,10 @@ src_install() {
newdoc "${S}"/gitweb/README README.gitweb
for d in "${ED%/}"/usr/lib{,64}/perl5/ ; do
- test -d "$d" && find "${d}" \
+ if test -d "$d" ; then find "${d}" \
-name .packlist \
- -delete \
- || die
+ -delete || die
+ fi
done
else
rm -rf "${ED%/}"/usr/share/gitweb