summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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" ;;