aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/cpt-lib.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cpt-lib.in b/src/cpt-lib.in
index 91acfde..b91a5a3 100644
--- a/src/cpt-lib.in
+++ b/src/cpt-lib.in
@@ -1676,7 +1676,7 @@ pkg_vcs_clone_git() {
pkg_vcs_clone_hg() {
# $1: Clone URL
# $2: Branch or Commit Object
- hg clone -u "${2:-tip}" "${1%[#@]*}"
+ hg clone -u "${2:-tip}" "${1%[#@]*}" .
}
pkg_vcs_clone_fossil() {