summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-03-12 23:42:16 +0000
committerZac Medico <zmedico@gentoo.org>2007-03-12 23:42:16 +0000
commitc7f27ae916e18fe7de73b76278a7e09d4ee1afd7 (patch)
treee0afe08d73acbbb19372b2b67c10b4e4261c40dd
parent4722f5ae2ecbd194ecc34c6365f64b2d6614295a (diff)
downloadportage-c7f27ae916e18fe7de73b76278a7e09d4ee1afd7.tar.gz
portage-c7f27ae916e18fe7de73b76278a7e09d4ee1afd7.tar.bz2
portage-c7f27ae916e18fe7de73b76278a7e09d4ee1afd7.zip
Make prepinfo remove installed info indexes recursively. Thanks to Christian Faulhammer <opfer@gentoo.org> for reporting (see bugs #162675 and #170133).
svn path=/main/trunk/; revision=6205
-rwxr-xr-xbin/prepinfo4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/prepinfo b/bin/prepinfo
index 2d3c80e08..ff1c6a88a 100755
--- a/bin/prepinfo
+++ b/bin/prepinfo
@@ -24,6 +24,8 @@ if [[ ! -d ${D}${infodir} ]] ; then
fi
fi
-rm -f "${D}${infodir}"/dir{,.info}{,.gz,.bz2}
+find "${D}${infodir}" -type d -print0 | while read -d $'\0' x ; do
+ rm -f "${x}"/dir{,.info}{,.gz,.bz2}
+done
exec ecompressdir "${infodir}"