diff options
author | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2017-02-18 19:59:30 +0100 |
---|---|---|
committer | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2017-02-18 19:59:30 +0100 |
commit | 144f49bdee2dd7d29748d2c3d2e3c0e5cfbfa34d (patch) | |
tree | d3e5124c81bd7b15ba9325e072efbb58c682d999 /src/blogc-make/exec.c | |
parent | 1d790b8c78a2925a788e7167ed8d9d52d8e23906 (diff) | |
download | blogc-144f49bdee2dd7d29748d2c3d2e3c0e5cfbfa34d.tar.gz blogc-144f49bdee2dd7d29748d2c3d2e3c0e5cfbfa34d.tar.bz2 blogc-144f49bdee2dd7d29748d2c3d2e3c0e5cfbfa34d.zip |
make: git-receiver: fixes to build on OS X. patch by @blackgear
Diffstat (limited to 'src/blogc-make/exec.c')
-rw-r--r-- | src/blogc-make/exec.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/blogc-make/exec.c b/src/blogc-make/exec.c index e1ff238..dafa6cb 100644 --- a/src/blogc-make/exec.c +++ b/src/blogc-make/exec.c @@ -352,7 +352,8 @@ bm_exec_blogc_runserver(const char *output_dir, bool verbose) fflush(stdout); // we don't need pipes to run blogc-runserver, because it is "interactive" - int rv = WEXITSTATUS(system(cmd->str)); + int status = system(cmd->str); + int rv = WEXITSTATUS(status); bc_string_free(cmd, true); if (rv != 0) { |