aboutsummaryrefslogtreecommitdiffstats
path: root/src/blogc-git-receiver/pre-receive.c
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2016-10-11 02:36:34 +0200
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2016-10-11 02:36:34 +0200
commit8e6c611dfb402ce735dfea865f8920a723562a3d (patch)
tree3472a89ef6a47a8dc6da099f217ae09b31579080 /src/blogc-git-receiver/pre-receive.c
parentfd54e438f44a1841e1bf7fb858bb77821c78324a (diff)
downloadblogc-8e6c611dfb402ce735dfea865f8920a723562a3d.tar.gz
blogc-8e6c611dfb402ce735dfea865f8920a723562a3d.tar.bz2
blogc-8e6c611dfb402ce735dfea865f8920a723562a3d.zip
git-receiver: actually use detected make/gmake implementation
Diffstat (limited to 'src/blogc-git-receiver/pre-receive.c')
-rw-r--r--src/blogc-git-receiver/pre-receive.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/blogc-git-receiver/pre-receive.c b/src/blogc-git-receiver/pre-receive.c
index faa0c62..6fd396f 100644
--- a/src/blogc-git-receiver/pre-receive.c
+++ b/src/blogc-git-receiver/pre-receive.c
@@ -168,7 +168,7 @@ bgr_pre_receive_hook(int argc, char *argv[])
unsigned long epoch = time(NULL);
output_dir = bc_strdup_printf("%s/builds/%s-%lu", home, master, epoch);
char *gmake_cmd = bc_strdup_printf(
- "gmake -j%d OUTPUT_DIR=\"%s\" BLOGC_GIT_RECEIVER=1",
+ "%s -j%d OUTPUT_DIR=\"%s\" BLOGC_GIT_RECEIVER=1", make_impl,
cpu_count(), output_dir);
fprintf(stdout, "running command: %s\n\n", gmake_cmd);
fflush(stdout);