]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
python: fixes for installing from path with spaces
authorJason Ish <jason.ish@oisf.net>
Sun, 22 Sep 2019 22:11:55 +0000 (16:11 -0600)
committerJason Ish <jason.ish@oisf.net>
Thu, 10 Oct 2019 22:36:04 +0000 (16:36 -0600)
Related to Redmine issue:
https://redmine.openinfosecfoundation.org/issues/2668

python/Makefile.am
suricata-update/Makefile.am

index 71883187845cf5af7708c54b17bd2c59f120e5b7..316971bd854f3ea5d138957d7ff0707c1622a757 100644 (file)
@@ -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
 
index fe896fb5d4a24099212d0346f38b2b0a42c96031..49414270a2683467c7f07938987d2efca6c91022 100644 (file)
@@ -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