use $PATH lookup instead of hard-coded path
This commit is contained in:
parent
4707c8304f
commit
bb88db5161
1 changed files with 1 additions and 1 deletions
2
calc.c
2
calc.c
|
|
@ -226,7 +226,7 @@ static char *db_get(const char *key) {
|
||||||
return r;
|
return r;
|
||||||
}
|
}
|
||||||
static void db_close_cleanup(void) { if (db_handle) { db_close(DB); db_handle = NULL; } }
|
static void db_close_cleanup(void) { if (db_handle) { db_close(DB); db_handle = NULL; } }
|
||||||
#define OPENCODE_BIN "/home/recursion/.node_modules/.bin/opencode"
|
#define OPENCODE_BIN "opencode"
|
||||||
#define AI_REPLY_MAX 400
|
#define AI_REPLY_MAX 400
|
||||||
static pid_t pending_ai_pid;
|
static pid_t pending_ai_pid;
|
||||||
static int ai_start(const char *question, const char *target, const char *nick) {
|
static int ai_start(const char *question, const char *target, const char *nick) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue