star-build

Automation tool for project installation
git clone git://git.meso-star.fr/star-build.git
Log | Files | Refs | README | LICENSE

commit ed099c1cd18d66cfdc24e6e694a79bb51d91ba8f
parent 768432f086a467b0849d18a77a146fd73de835fb
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Mon,  6 May 2024 21:02:11 +0200

sleef: add quotation marks around variables defining paths

Paths can contain spaces.

Diffstat:
Msrc/sleef.mk.in | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/sleef.mk.in b/src/sleef.mk.in @@ -26,7 +26,7 @@ SLEEF_CMAKE_OPTIONS =\ -DCMAKE_INSTALL_LIBDIR=lib sleef: build_sleef prefix - @prefix=$$(cat .prefix) &&\ + @prefix="$$(cat .prefix)" &&\ cd -- "$(SLEEF_DIR)/build" &&\ cmake -DCMAKE_INSTALL_PREFIX="$${prefix}" .. > /dev/null 2>&1 &&\ $(MAKE) install @@ -37,7 +37,7 @@ build_sleef: fetch_sleef $(MAKE) $(SLEEF_DIR): - @git clone $(SLEEF_URL) "$@" + @git clone "$(SLEEF_URL)" "$@" @mkdir -p "$@/build" fetch_sleef: $(SLEEF_DIR) @@ -56,7 +56,7 @@ uninstall_sleef: fetch_sleef prefix cd -- "$(SLEEF_DIR)/build" &&\ cmake -DCMAKE_INSTALL_PREFIX="$${prefix}" .. &&\ $(MAKE) install - xargs rm -f < $(SLEEF_DIR)/build/install_manifest.txt + xargs rm -f < "$(SLEEF_DIR)/build/install_manifest.txt" distclean_sleef: rm -rf sleef