summaryrefslogtreecommitdiff
path: root/dev-vcs/git/git-9999-r2.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'dev-vcs/git/git-9999-r2.ebuild')
-rw-r--r--dev-vcs/git/git-9999-r2.ebuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/dev-vcs/git/git-9999-r2.ebuild b/dev-vcs/git/git-9999-r2.ebuild
index 592c262cdb86..1fb66925cbfb 100644
--- a/dev-vcs/git/git-9999-r2.ebuild
+++ b/dev-vcs/git/git-9999-r2.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