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 134264f..d6787a5 100755
--- a/bin/pkg
+++ b/bin/pkg
@@ -293,7 +293,7 @@ pkg_add () {
}
cd $PDIR || return 255
info "Retrieving package $1...\n"
- vcs_add "$2" "$PKG_ROOT/$1" || return 255
+ vcs_add "$1" || return 255
if ([ -r $PDIR/$1/Makefile ]) {
info "Building binaries\n"
cd $PDIR/$1
@@ -494,7 +494,7 @@ pkg_doc () {
##
case "$1" in
- add) pkg_add "$2" "$3" ;;
+ add) pkg_add "$2" ;;
changelog) pkg_changelog "$2" ;;
changeroot) pkg_changesrc "$2" ;;
delete) pkg_remove "$2" ;;