]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
wrap directory variables in quotes 808/head
authorsneurlax <sneurlax@gmail.com>
Tue, 13 Dec 2022 01:27:19 +0000 (19:27 -0600)
committersneurlax <sneurlax@gmail.com>
Tue, 13 Dec 2022 01:27:19 +0000 (19:27 -0600)
see https://github.com/NLnetLabs/unbound/issues/807

Makefile.in

index e7c76c2588aa73472bbdee8eda7e32efcbc73ed4..d999e9fe7b8791813665ba11da5e726c948d2bc7 100644 (file)
@@ -616,7 +616,7 @@ install-all:        all $(PYTHONMOD_INSTALL) $(PYUNBOUND_INSTALL) $(UNBOUND_EVENT_INSTA
        $(INSTALL) -c -m 644 doc/unbound.conf.5 $(DESTDIR)$(mandir)/man5
        $(INSTALL) -c -m 644 doc/unbound-host.1 $(DESTDIR)$(mandir)/man1
        $(INSTALL) -c -m 755 unbound-control-setup $(DESTDIR)$(sbindir)/unbound-control-setup
-       if test ! -e $(DESTDIR)$(configfile); then $(INSTALL) -d `dirname $(DESTDIR)$(configfile)`; $(INSTALL) -c -m 644 doc/example.conf $(DESTDIR)$(configfile); fi
+       if test ! -e "$(DESTDIR)$(configfile)"; then $(INSTALL) -d `dirname "$(DESTDIR)$(configfile)"`; $(INSTALL) -c -m 644 doc/example.conf "$(DESTDIR)$(configfile)"; fi
 
 pythonmod-uninstall:
        rm -f -- $(DESTDIR)$(PYTHON_SITE_PKG)/unboundmodule.py