aboutsummaryrefslogtreecommitdiff
path: root/tests/remote-git.testscript
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2019-08-22 22:04:34 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2019-08-22 22:04:51 +0300
commit7b5a0b55569331560f9cb6439ee818c3ce5d8428 (patch)
tree716701cfb044388fe6c33d1746a0292189c56147 /tests/remote-git.testscript
parent5384724d937196e1e3f5c15fe443c0bff07896e6 (diff)
Quote directory paths in buildspecs
Also fix some tests to properly work if the project path contain spaces.
Diffstat (limited to 'tests/remote-git.testscript')
-rw-r--r--tests/remote-git.testscript2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/remote-git.testscript b/tests/remote-git.testscript
index 81e7c54..6c539b6 100644
--- a/tests/remote-git.testscript
+++ b/tests/remote-git.testscript
@@ -46,6 +46,8 @@ remote = $config.bpkg.test.remote
? "file://$out_git" \
: "file:/$regex.replace($out_git, '\\', '/')")
+ rep_git_local = "$regex.replace($rep_git_local, ' ', '%20')"
+
rep_git = $rep_git_local # Default local repository URL.
mkdir -p $out_git