summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2008-06-08 20:06:25 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2008-06-08 20:06:25 +0200
commit48aaf0689946be4dfdffd5220f03c0f85003a5d2 (patch)
treeb0ea5d2fe2b14a204970ffd17f1baf47160a174b
parent6d611058bbc7b82dd0fc29d7421955ec7befe2dd (diff)
bin/pkg: populate_colltected: Pass section to pod2man
-rwxr-xr-xbin/pkg2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/pkg b/bin/pkg
index badfd90..5ab258f 100755
--- a/bin/pkg
+++ b/bin/pkg
@@ -161,7 +161,7 @@ populate_collected () {
for manpage in man/$section/*; {
manpage=$(basename $manpage)
if (podchecker man/$section/$manpage &> /dev/null) {
- pod2man -c "$1 package" -r "/home/derf" man/$section/$manpage > $PDIR/.collected/man/man$section/$manpage.$section
+ pod2man -s $section -c "$1 package" -r "/home/derf" man/$section/$manpage > $PDIR/.collected/man/man$section/$manpage.$section
echo -n "+"
} else {
echo -n "."