aboutsummaryrefslogtreecommitdiffhomepage
path: root/completion
diff options
context:
space:
mode:
authorGravatar Carl Worth <cworth@cworth.org>2011-01-26 23:29:15 +1000
committerGravatar Carl Worth <cworth@cworth.org>2011-01-26 23:36:52 +1000
commit1a915d1b3852c5771507710ed470547b53b1c7ec (patch)
tree5788173398ede71e87218cd2fd5b7da53e53c629 /completion
parentb4b5e9ce4dac62111ec11da6d22b7e618056801f (diff)
Makefile: Quote variables used as filenames in shell commands
This allows support for filenames with spaces in them.
Diffstat (limited to 'completion')
-rw-r--r--completion/Makefile.local8
1 files changed, 4 insertions, 4 deletions
diff --git a/completion/Makefile.local b/completion/Makefile.local
index 911358da..755b0f7e 100644
--- a/completion/Makefile.local
+++ b/completion/Makefile.local
@@ -13,10 +13,10 @@ install: install-$(dir)
install-$(dir):
@echo $@
ifeq ($(WITH_BASH),1)
- mkdir -p $(DESTDIR)$(bash_completion_dir)
- install -m0644 $(bash_script) $(DESTDIR)$(bash_completion_dir)/notmuch
+ mkdir -p "$(DESTDIR)$(bash_completion_dir)"
+ install -m0644 $(bash_script) "$(DESTDIR)$(bash_completion_dir)/notmuch"
endif
ifeq ($(WITH_ZSH),1)
- mkdir -p $(DESTDIR)$(zsh_completion_dir)
- install -m0644 $(zsh_script) $(DESTDIR)$(zsh_completion_dir)/_notmuch
+ mkdir -p "$(DESTDIR)$(zsh_completion_dir)"
+ install -m0644 $(zsh_script) "$(DESTDIR)$(zsh_completion_dir)/_notmuch"
endif