Skip to content
Snippets Groups Projects
Commit 39c88f0d authored by Diego Pasqualin's avatar Diego Pasqualin
Browse files

common.sh: Fix test directory with spaces on its name

parent 245238fe
No related branches found
No related tags found
No related merge requests found
...@@ -47,7 +47,7 @@ checkUser() ...@@ -47,7 +47,7 @@ checkUser()
# Check whether the output file will be in a existent and writable directory # Check whether the output file will be in a existent and writable directory
checkOutput() checkOutput()
{ {
local dir="$(dirname $1)" local dir="$(dirname "$1")"
test -d "$dir" -a -w "$dir" test -d "$dir" -a -w "$dir"
return $? return $?
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment