summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/pkg4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/pkg b/bin/pkg
index bcfe188..9c4c66a 100755
--- a/bin/pkg
+++ b/bin/pkg
@@ -157,9 +157,9 @@ populate_collected () {
info "Enabling documentation "
if ([ -d man ]) {
for section in man/*; {
- for i in man/$section/*; {
+ for i in $section/*; {
if (podchecker $i &> /dev/null) {
- pod2man -c "$1 package" -r "/home/derf" $i > $PDIR/.collected/man/man$section/$(basename $i).$section
+ pod2man -c "$1 package" -r "/home/derf" $i > $PDIR/.collected/man/man$(basename $section)/$(basename $i).$section
echo -n "+"
} else {
echo -n "."