From 1b6eee829f6f5a64ec1a4127bf5ea601595d1ae3 Mon Sep 17 00:00:00 2001 From: Jason Ish Date: Sun, 22 Sep 2019 16:11:55 -0600 Subject: [PATCH] python: fixes for installing from path with spaces Related to Redmine issue: https://redmine.openinfosecfoundation.org/issues/2668 --- python/Makefile.am | 6 +++--- suricata-update/Makefile.am | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) 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 -- 2.47.3