summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/prepman13
1 files changed, 1 insertions, 12 deletions
diff --git a/bin/prepman b/bin/prepman
index 65144a437..c17faa1b8 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}}"