aboutsummaryrefslogtreecommitdiff
path: root/src/cpt-lib.in
diff options
context:
space:
mode:
authormerakor <cem@ckyln.com>2021-06-22 14:07:30 +0000
committermerakor <cem@ckyln.com>2021-06-22 14:07:30 +0000
commitf9eda7b41e97fddcb7ffb30085fcde5a35b8599c (patch)
tree133f6f1359a1f2d5a5260cac36c5c764e17e550e /src/cpt-lib.in
parent736e92e0ef7946b3c9040c4b8ba39575287c9fe5 (diff)
downloadcpt-f9eda7b41e97fddcb7ffb30085fcde5a35b8599c.tar.gz
pkg_vcs_clone_hg(): Clone to the current directory
FossilOrigin-Name: b742975103f6f7a4fccfb134b1b02d11696c263ce66fae5ea3623a1fd7316690
Diffstat (limited to 'src/cpt-lib.in')
-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() {