summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2008-06-27 23:48:07 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2008-06-27 23:48:07 +0200
commitc78453011b490029637893e83a4444d7fbd9b6a3 (patch)
tree91506f59fb3f3fea0d9c65086e071d9890af12f1 /bin
parent3ef4cde2e6659a6e6858c9b3502c2605c8b03e9c (diff)
oops
Diffstat (limited to 'bin')
-rwxr-xr-xbin/pkg2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/pkg b/bin/pkg
index 1089b7c..a0f58ae 100755
--- a/bin/pkg
+++ b/bin/pkg
@@ -119,7 +119,7 @@ confirm_no () {
vcs_add () {
cd "$PDIR"
- case vcs_type "$1" in
+ case $(vcs_type "$1") in
git) git clone "$1" ;;
hg) hg clone "$1" ;;
*) die "Cannot handle repository format '$1'\n" ;;