summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorArun Isaac2023-01-23 20:06:58 +0000
committerArun Isaac2023-01-23 20:06:58 +0000
commitbb0c921a38a468300c70483d2d1370d63e7e070a (patch)
tree08151f14c3ccd3b5d9def1356d28901db71c5801 /bin
parent8fc064c7b07a249fb0e5cd1180d42629bf8dd32f (diff)
downloadtissue-bb0c921a38a468300c70483d2d1370d63e7e070a.tar.gz
tissue-bb0c921a38a468300c70483d2d1370d63e7e070a.tar.lz
tissue-bb0c921a38a468300c70483d2d1370d63e7e070a.zip
bin: Create xapian directory only when it does not exist.
* bin/tissue (pull): Create xapian directory only when it does not exist.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/tissue3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/tissue b/bin/tissue
index 4a2f37d..aaaa122 100755
--- a/bin/tissue
+++ b/bin/tissue
@@ -407,7 +407,8 @@ HOSTNAME."
(lambda (temporary-repository-clone)
(clone (git-top-level) temporary-repository-clone)
;; Index.
- (mkdir "xapian")
+ (unless (file-exists? "xapian")
+ (mkdir "xapian"))
(let ((xapian-directory (canonicalize-path "xapian")))
(call-with-current-directory temporary-repository-clone
(cut index xapian-directory))