Fix minimal/do and tests when built in a path containing spaces.
Basically all just missing quotes around shell strings that use $PWD. Most paths inside a project, since redo uses relative paths, only need to worry when project-internal directories or filenames have spaces in them. Reported-by: Jeff Stearns <jeff.stearns@gmail.com>
This commit is contained in:
parent
539a26d264
commit
474e12eed8
6 changed files with 19 additions and 17 deletions
|
|
@ -102,8 +102,8 @@ check_s "" "$_dirsplit_base"
|
|||
|
||||
|
||||
SECTION _relpath
|
||||
check "a/b/c" _relpath $PWD/a/b/c
|
||||
check "../a/b/c" _relpath $PWD/../a/b/c
|
||||
check "a/b/c" _relpath "$PWD/a/b/c"
|
||||
check "../a/b/c" _relpath "$PWD/../a/b/c"
|
||||
check "" _relpath "$PWD"
|
||||
(cd / && check "a/b/c" _relpath a/b/c)
|
||||
(cd / && check "a/b/c" _relpath /a/b/c)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue