summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2009-07-07 13:10:07 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2009-07-07 13:10:07 +0200
commitbed8857b779b9896f6a3b54336feddb41c0a5b5a (patch)
tree2fc8a1708042a9e5db52af80b1fc7c455a77bc0c /bin
parentb37e001d893f8cd1b2efed154095f47593643b04 (diff)
pkg: Recommend to postfix manuals in man/ with .pod
Diffstat (limited to 'bin')
-rwxr-xr-xbin/pkg2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/pkg b/bin/pkg
index 427765f..44a88f1 100755
--- a/bin/pkg
+++ b/bin/pkg
@@ -558,7 +558,7 @@ function populate_collected {
section=${man:h:t}
manpage=${man:t}
if podchecker man/$section/$manpage &> /dev/null; then
- pod2man -u -s $section -c "$1 package" -r $HOME man/$section/$manpage > $PKG_DIR/.collected/man/man$section/$manpage.$section
+ pod2man -u -s $section -c "$1 package" -r $HOME man/$section/$manpage > $PKG_DIR/.collected/man/man$section/${manpage%.pod}.$section
fi
}
for file in bin/*(N); {