summaryrefslogtreecommitdiff
path: root/bin/pkg
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2008-06-08 14:28:56 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2008-06-08 14:28:56 +0200
commitad2d3244410b56c1fbd0547b60197bd20a880037 (patch)
treea03449fdbc862fdb965676a14c17977c84ec76b2 /bin/pkg
parent94daa46dc77c00b17265b05881774efc53089b74 (diff)
oops
Diffstat (limited to 'bin/pkg')
-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 "."