mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
sharness: do not use spaces in trash directory
With a recent curl update, it now rejects URLs with spaces in it. We should probably fix this so that we can sanitize urls with spaces to be used properly, but for now, just remove spaces in the directory. Signed-off-by: Kevin Morris <kevr@0cost.org>
This commit is contained in:
parent
1a1d29f075
commit
17c0a4758b
1 changed files with 1 additions and 1 deletions
|
@ -895,7 +895,7 @@ SHARNESS_TEST_FILE="$0"
|
|||
export SHARNESS_TEST_FILE
|
||||
|
||||
# Prepare test area.
|
||||
SHARNESS_TRASH_DIRECTORY="trash directory.$(basename "$SHARNESS_TEST_FILE" ".$SHARNESS_TEST_EXTENSION")"
|
||||
SHARNESS_TRASH_DIRECTORY="trash_directory.$(basename "$SHARNESS_TEST_FILE" ".$SHARNESS_TEST_EXTENSION")"
|
||||
test -n "$root" && SHARNESS_TRASH_DIRECTORY="$root/$SHARNESS_TRASH_DIRECTORY"
|
||||
case "$SHARNESS_TRASH_DIRECTORY" in
|
||||
/*) ;; # absolute path is good
|
||||
|
|
Loading…
Add table
Reference in a new issue