summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2008-06-07 15:07:18 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2008-06-07 15:07:18 +0200
commit2c9dd173bc4b21664c84572bab0cd0091c523427 (patch)
tree2a2f6994ad675d162c0fca33c170e68afa87bc40
parent1dd0445048461c9aa9e7bd1365c194ab17eb4759 (diff)
bin/pkg: populate_collected: Show wheter a file contained docs or not
-rwxr-xr-xbin/pkg8
1 files changed, 6 insertions, 2 deletions
diff --git a/bin/pkg b/bin/pkg
index 908096a..79831ef 100755
--- a/bin/pkg
+++ b/bin/pkg
@@ -161,16 +161,20 @@ populate_collected () {
for i in doc/*; {
if (podchecker $i &> /dev/null) {
pod2man -c "$1 Documentation" -r "" $i > $PDIR/.collected/man/man1/$(basename $i).1
+ echo -n "+"
+ } else {
+ echo -n "."
}
- echo -n "."
}
}
if ([ -d bin ]) {
for i in bin/*; {
if (podchecker $i &> /dev/null) {
pod2man $i > $PDIR/.collected/man/man1/$(basename $i).1
+ echo -n "+"
+ } else {
+ echo -n "."
}
- echo -n "."
}
}
clear_line