summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2009-07-08 10:41:22 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2009-07-08 10:41:22 +0200
commita539ad66d29d2b36dc6e5806f416ca239bd75523 (patch)
tree82a777c3b22a066e70b2993351e4d7dc27179a08 /bin
parent8e57719e36adac30d0f4b56f09049dd9dc94b868 (diff)
pkg: {populate,genocide}_collected: typeset the right parameters
Diffstat (limited to 'bin')
-rwxr-xr-xbin/pkg4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/pkg b/bin/pkg
index 7de2782..ac5060b 100755
--- a/bin/pkg
+++ b/bin/pkg
@@ -550,7 +550,7 @@ function check_prereqs {
function populate_collected {
cd $PKG_DIR/$1 || return
typeset -i bins=0 bino=0 mans=0 mano=0
- typeset i
+ typeset man section manpage file
wrap_info $1
info "Enabling documentation\n"
@@ -585,7 +585,7 @@ function populate_collected {
# Remove a package's files from .collected
# Assuming there are no packages with colliding files
function genocide_collected {
- typeset i
+ typeset i file man manual section
cd $PKG_DIR/$1 || return
wrap_info $1
info "Removing documentation"