summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorArun Isaac2022-07-05 11:00:02 +0530
committerArun Isaac2022-07-05 11:00:02 +0530
commit1dc9f37fe2830e12e3013aab5e5c1b024195380f (patch)
tree3c6d384c234f417f5a8c10797a7a208b17c71716 /bin
parentae4dd4b85f285dad53eb0499493afadc43057f76 (diff)
downloadtissue-1dc9f37fe2830e12e3013aab5e5c1b024195380f.tar.gz
tissue-1dc9f37fe2830e12e3013aab5e5c1b024195380f.tar.lz
tissue-1dc9f37fe2830e12e3013aab5e5c1b024195380f.zip
bin: Refer to %xapian-index, not db-path, in main function.
This bug was introduced in ec434ea0710e9ece9f5239c7fe2b1f965a53bea1 when copy-pasting code. * bin/tissue (main): Refer to %xapian-index, not db-path.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/tissue4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/tissue b/bin/tissue
index d7736c2..7b2c154 100755
--- a/bin/tissue
+++ b/bin/tissue
@@ -487,8 +487,8 @@ Pull latest from upstream repositories.
;; Ensure index exists, rebuilding it if it is stale.
(let ((current-head
(oid->string (reference-name->oid (current-git-repository) "HEAD"))))
- (unless (and (file-exists? db-path)
- (string=? (call-with-database db-path
+ (unless (and (file-exists? %xapian-index)
+ (string=? (call-with-database %xapian-index
(cut Database-get-metadata <> "commit"))
current-head))
(index %xapian-index)))