aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2016-06-16 18:22:38 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2016-06-18 15:10:59 +0300
commitd84926cdaa7a5afffd620475f7deb13bbe3c2311 (patch)
tree5ed0a677dafe0b35b2b4e696cc7451a11366453e
parent72d61e0fe0f8e7c1929339c7a4741b8c593bb25a (diff)
Fix test.sh not to collapse several consecutive spaces into the single one in repository locations
-rwxr-xr-xtests/test.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test.sh b/tests/test.sh
index 9caafb1..369e1d4 100755
--- a/tests/test.sh
+++ b/tests/test.sh
@@ -206,13 +206,13 @@ function edit ()
function location ()
{
if [ "$remote" = "y" ]; then
- echo $rep/$1
+ echo "$rep/$1"
elif [ "$msys" = "y" ]; then
# Convert Windows path like c:/abc/xyz to the c:\abc\xyz canonical form.
#
- echo `pwd -W`/$rep/$1 | sed 's%/%\\%g'
+ echo "`pwd -W`/$rep/$1" | sed 's%/%\\%g'
else
- echo `pwd`/$rep/$1
+ echo "`pwd`/$rep/$1"
fi
}