From 7c24a0a338a4bfe57690d586f59c9dc40ecd01ed Mon Sep 17 00:00:00 2001 From: "Rafael G. Martins" Date: Mon, 27 Feb 2017 23:12:13 +0100 Subject: make: improved binary lookup logic. now it is possible to run blogc-make from git checkout without installing and without setting $PATH. It will also always try to load the binary from the same dir as blogc-make, that is likely the same version --- src/blogc-make/exec.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/blogc-make/exec.h') diff --git a/src/blogc-make/exec.h b/src/blogc-make/exec.h index 5bb37d0..901e53d 100644 --- a/src/blogc-make/exec.h +++ b/src/blogc-make/exec.h @@ -15,6 +15,7 @@ #include "ctx.h" #include "settings.h" +char* bm_exec_find_binary(const char *bin, const char *env); int bm_exec_command(const char *cmd, const char *input, char **output, char **error, bc_error_t **err); char* bm_exec_build_blogc_cmd(bm_settings_t *settings, bc_trie_t *variables, -- cgit v1.2.3-18-g5258