summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/pkg4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/pkg b/bin/pkg
index 227f00e..b37d131 100755
--- a/bin/pkg
+++ b/bin/pkg
@@ -115,8 +115,8 @@ populate_collected () {
}
if ([ -d bin ]) {
for i in bin/*; {
- if (podchecker bin/$i &> /dev/null) {
- pod2man bin/$i > $PDIR/.collected/man/man1/$i
+ if (podchecker $i &> /dev/null) {
+ pod2man $i > $PDIR/.collected/man/man1/$(basename $i)
}
}
}