From: Jason Ish Date: Sun, 22 Sep 2019 22:11:55 +0000 (-0600) Subject: python: fixes for installing from path with spaces X-Git-Tag: suricata-5.0.0~24 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1b6eee829f6f5a64ec1a4127bf5ea601595d1ae3;p=thirdparty%2Fsuricata.git python: fixes for installing from path with spaces Related to Redmine issue: https://redmine.openinfosecfoundation.org/issues/2668 --- diff --git a/python/Makefile.am b/python/Makefile.am index 7188318784..316971bd85 100644 --- a/python/Makefile.am +++ b/python/Makefile.am @@ -7,11 +7,11 @@ if HAVE_PYTHON if HAVE_PYTHON_DISTUTILS all-local: cd $(srcdir) && \ - $(HAVE_PYTHON) setup.py build --build-base $(abs_builddir) + $(HAVE_PYTHON) setup.py build --build-base "$(abs_builddir)" install-exec-local: cd $(srcdir) && \ - $(HAVE_PYTHON) setup.py build --build-base $(abs_builddir) \ + $(HAVE_PYTHON) setup.py build --build-base "$(abs_builddir)" \ install --prefix $(DESTDIR)$(prefix) uninstall-local: @@ -24,7 +24,7 @@ uninstall-local: clean-local: cd $(srcdir) && \ $(HAVE_PYTHON) setup.py clean \ - --build-base $(abs_builddir) + --build-base "$(abs_builddir)" rm -rf scripts-* lib* build find . -name \*.pyc -print0 | xargs -0 rm -f diff --git a/suricata-update/Makefile.am b/suricata-update/Makefile.am index fe896fb5d4..49414270a2 100644 --- a/suricata-update/Makefile.am +++ b/suricata-update/Makefile.am @@ -8,7 +8,7 @@ all-local: install-exec-local: cd $(srcdir) && \ - $(HAVE_PYTHON) setup.py build --build-base $(abs_builddir) \ + $(HAVE_PYTHON) setup.py build --build-base "$(abs_builddir)" \ install --prefix $(DESTDIR)$(prefix) uninstall-local: @@ -19,7 +19,7 @@ uninstall-local: clean-local: cd $(srcdir) && \ $(HAVE_PYTHON) setup.py clean \ - --build-base $(abs_builddir) + --build-base "$(abs_builddir)" rm -rf scripts-* lib* build find . -name \*.pyc -print0 | xargs -0 rm -f