branch: elpa/helm
commit c5972fa4f1acc0ee001539ef3108379cd4dbc0a2
Author: Alexander Goldstein <[email protected]>
Commit: GitHub <[email protected]>
Quote EMACS_COMMAND and ASYNC_STRAIGHT_DIR variables
Quoting variables to address directories with whitespace
---
Makefile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
index 2429fef13b1..5a801cf2c72 100644
--- a/Makefile
+++ b/Makefile
@@ -26,7 +26,7 @@
EMACS_COMMAND := emacs
# Use -q to have /usr/local/share/emacs/site-lisp and subdirs in load-path
-EMACS := $(EMACS_COMMAND) -q -batch
+EMACS := "$(EMACS_COMMAND)" -q -batch
EVAL := $(EMACS) --eval
@@ -57,7 +57,7 @@ ASYNC_STRAIGHT_DIR = $(shell \
find -L $(STRAIGHT_DIR) -maxdepth 1 -regex '.*/async' 2> /dev/null | \
sort | tail -n 1)
ifneq "$(ASYNC_STRAIGHT_DIR)" ""
- LOADPATH += -L $(ASYNC_STRAIGHT_DIR)
+ LOADPATH += -L "$(ASYNC_STRAIGHT_DIR)"
endif
# Files to compile