projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d67222f
)
For bug #173808, compress ${mandir} all in one go instead of doing subdirectories...
author
Zac Medico
<zmedico@gentoo.org>
Tue, 10 Apr 2007 08:41:20 +0000
(08:41 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Tue, 10 Apr 2007 08:41:20 +0000
(08:41 -0000)
svn path=/main/branches/2.1.2/; revision=6363
bin/prepman
patch
|
blob
|
history
diff --git
a/bin/prepman
b/bin/prepman
index 65144a437bd46f2d4c7d42e2df0593b5bc739710..c17faa1b87727bceb5bf768351d1eb63d7e22758 100755
(executable)
--- 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}}"