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 d6787a5..1faa16e 100755
--- a/bin/pkg
+++ b/bin/pkg
@@ -120,8 +120,8 @@ confirm_no () {
vcs_add () {
cd "$PDIR"
case $(vcs_type "$1") in
- git) git clone "$1" ;;
- hg) hg clone "$1" ;;
+ git) git clone "$PKG_ROOT/$1" ;;
+ hg) hg clone "$PKG_ROOT/$1" ;;
*) die "Cannot handle repository format '$1'\n" ;;
esac
}