Fix narf:build
This commit is contained in:
parent
6e768382d0
commit
ac838e2a74
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ If ARG is nil this function calls `recompile', otherwise it calls
|
||||||
(let ((build-file (cdr narf--build-command))
|
(let ((build-file (cdr narf--build-command))
|
||||||
(build-cmd (car narf--build-command)))
|
(build-cmd (car narf--build-command)))
|
||||||
(if (narf/project-has-files build-file)
|
(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"))))
|
(error "Could not find Makefile"))))
|
||||||
|
|
||||||
;;;; Code running ;;;;;;;;;;;;;;;;;;;;;;
|
;;;; Code running ;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue