aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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 2da51bb..64f2869 100644
--- a/src/cpt-lib.in
+++ b/src/cpt-lib.in
@@ -1656,7 +1656,7 @@ pkg_repository_info() {
# Mercurial repository
backend=hg
- elif rootdir=$(fossil info 2>/dev/null | grep local-root:); then
+ elif rootdir=$(fossil info 2>/dev/null | grep ^local-root:); then
# Fossil repository
backend=fossil