summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-04-10 08:41:20 +0000
committerZac Medico <zmedico@gentoo.org>2007-04-10 08:41:20 +0000
commit5ddd4810995ce058c9081e80d431a634720cef5c (patch)
treea2fdeea6fd21c0f5955cf199d21124a2d47d3c81 /bin/prepman
parentEfficiently recycle partial valid vdb cache when possible. This reduces disk... (diff)
downloadportage-multirepo-5ddd4810995ce058c9081e80d431a634720cef5c.tar.gz
portage-multirepo-5ddd4810995ce058c9081e80d431a634720cef5c.tar.bz2
portage-multirepo-5ddd4810995ce058c9081e80d431a634720cef5c.zip
For bug #173808, compress ${mandir} all in one go instead of doing subdirectories separately. This allows symlinks that point into sibling directories to get updated properly by ecompressdir. (trunk r6361:6362)
svn path=/main/branches/2.1.2/; revision=6363
Diffstat (limited to 'bin/prepman')
-rwxr-xr-xbin/prepman13
1 files changed, 1 insertions, 12 deletions
diff --git a/bin/prepman b/bin/prepman
index 65144a43..c17faa1b 100755
--- a/bin/prepman
+++ b/bin/prepman
@@ -16,15 +16,4 @@ if [[ ! -d ${mandir} ]] ; then
exit 0
fi
-shopt -s nullglob
-
-ret=0
-
-# compress and fixup links in each dir
-for subdir in "${mandir}"/man* "${mandir}"/*/man* ; do
- [[ -d ${subdir} ]] || continue # ignore files named 'man*'
- ecompressdir "/${subdir#${D}}"
- ((ret+=$?))
-done
-
-exit ${ret}
+exec ecompressdir "${mandir#${D}}"