summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2008-06-27 23:55:03 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2008-06-27 23:55:03 +0200
commitbc9190120ec39191fce460096ed37b50eeb3319c (patch)
tree5caa54217c33cd4ad6e7880d673222d489c16421
parent553442ea14960a9715e8855585c63b95982b2531 (diff)
another oops
-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
}