From 7b5a0b55569331560f9cb6439ee818c3ce5d8428 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Thu, 22 Aug 2019 22:04:34 +0300 Subject: Quote directory paths in buildspecs Also fix some tests to properly work if the project path contain spaces. --- tests/rep-fetch.testscript | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/rep-fetch.testscript') diff --git a/tests/rep-fetch.testscript b/tests/rep-fetch.testscript index ba707c2..bc52f2e 100644 --- a/tests/rep-fetch.testscript +++ b/tests/rep-fetch.testscript @@ -769,6 +769,8 @@ else ? "file:$~" \ : "file:/$regex.replace($~, '\\', '/')"); + rep = "$regex.replace($rep, ' ', '%20')"; + $* "$rep/libbar.git#master" 2>>~%EOE% &cfg/.bpkg/repos/*/***; %added git:.+libbar#master% %querying .+libbar\.git% -- cgit v1.1