From ac838e2a74a0c7e51076471cfe1486911f845ed0 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Mon, 27 Jul 2015 15:10:48 +0200 Subject: [PATCH] Fix narf:build --- core/lib/defuns-quickrun.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/lib/defuns-quickrun.el b/core/lib/defuns-quickrun.el index fd6120170..645d1c4bf 100644 --- a/core/lib/defuns-quickrun.el +++ b/core/lib/defuns-quickrun.el @@ -22,7 +22,7 @@ If ARG is nil this function calls `recompile', otherwise it calls (let ((build-file (cdr narf--build-command)) (build-cmd (car narf--build-command))) (if (narf/project-has-files build-file) - (compile (format "cd '%s' && %s" build-file (format build-cmd (or arg "")))) + (compile (format "cd '%s' && %s" (narf/project-root) (format build-cmd (or arg "")))) (error "Could not find Makefile")))) ;;;; Code running ;;;;;;;;;;;;;;;;;;;;;;