From c78453011b490029637893e83a4444d7fbd9b6a3 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Fri, 27 Jun 2008 23:48:07 +0200 Subject: oops --- bin/pkg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') 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" ;; -- cgit v1.2.3