From e432b31ef398ef7a73cbe002c536dba7dec62b84 Mon Sep 17 00:00:00 2001 From: merakor Date: Sun, 25 Apr 2021 06:07:47 +0000 Subject: pkg_repository_info: make stricter grep call for fossil FossilOrigin-Name: 1139782a2f958ea86a02eb3b252c8fc8fe75786510ef73e65d9e03eb5d4a2f44 --- src/cpt-lib.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 -- cgit v1.2.3