summary refs log tree commit diff
path: root/scoop.c
diff options
context:
space:
mode:
Diffstat (limited to 'scoop.c')
-rw-r--r--scoop.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/scoop.c b/scoop.c
index 922c7cd..a12b37b 100644
--- a/scoop.c
+++ b/scoop.c
@@ -28,6 +28,10 @@
 
 #include "database.h"
 
+#ifndef SQLITE3_BIN
+#define SQLITE3_BIN "sqlite3"
+#endif
+
 struct Event {
 	const char *network;
 	const char *context;
@@ -419,7 +423,7 @@ int main(int argc, char *argv[]) {
 		path = strdup(sqlite3_db_filename(db, "main"));
 		if (!path) err(EX_OSERR, "strdup");
 		dbClose();
-		execlp("sqlite3", "sqlite3", path, NULL);
+		execlp(SQLITE3_BIN, "sqlite3", path, NULL);
 		err(EX_UNAVAILABLE, "sqlite3");
 	}
 
lspan='3' class='logmsg'> Do some extra work by adding the portion before the cursor to the input window twice, but simplify the interaction with the split point. This fixes the awkward behaviour when moving the cursor across colour codes where the code would be partially interpreted up to the cursor. 2022-02-18Fix M-f orderingJune McEnroe 2022-02-12Move sandman build to scripts/MakefileJune McEnroe 2022-02-12Use compat_readpassphrase.c on LinuxJune McEnroe 2022-02-12Copy RPP defines from oconfigureJune McEnroe