From bcd4434161897da5203cdfaef8b2227e15d82c45 Mon Sep 17 00:00:00 2001 From: Steve Bennett Date: Fri, 9 Apr 2021 08:08:02 +1000 Subject: build: Allow some paths to contain spaces Quote the build dir or and the path to jimsh/tclsh in the Makefile in case they contain spaces. Also fix a few problems in tests/ that arise when the build and/or source dir contain spaces. Fixes #199 Signed-off-by: Steve Bennett --- auto.def | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'auto.def') diff --git a/auto.def b/auto.def index 3f2f5a0..347951f 100644 --- a/auto.def +++ b/auto.def @@ -296,7 +296,7 @@ switch -glob -- $host_os { # Find some tools cc-check-tools ar ranlib strip -define tclsh [info nameofexecutable] +define tclsh [quote-if-needed [info nameofexecutable]] # We only support silent-rules for GNU Make define NO_SILENT_RULES -- cgit v1.1