summaryrefslogtreecommitdiff
path: root/t/lib-git-svn.sh
diff options
context:
space:
mode:
authorBryan Donlan <bdonlan@fushizen.net>2008-05-04 05:37:57 (GMT)
committerJunio C Hamano <gitster@pobox.com>2008-05-05 21:17:01 (GMT)
commitcdf3ec01acb8785b8e61ce6e006c9c4c763de663 (patch)
tree4f8819209c84fd4dbb3de7280f1cd13d2851c2eb /t/lib-git-svn.sh
parentb480f5cf1a398586d94aecca5d6c9de646837d14 (diff)
downloadgit-cdf3ec01acb8785b8e61ce6e006c9c4c763de663.zip
git-cdf3ec01acb8785b8e61ce6e006c9c4c763de663.tar.gz
git-cdf3ec01acb8785b8e61ce6e006c9c4c763de663.tar.bz2
lib-git-svn.sh: Fix quoting issues with paths containing shell metacharacters
Signed-off-by: Bryan Donlan <bdonlan@fushizen.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/lib-git-svn.sh')
-rw-r--r--t/lib-git-svn.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/t/lib-git-svn.sh b/t/lib-git-svn.sh
index 9decd2e..445df78 100644
--- a/t/lib-git-svn.sh
+++ b/t/lib-git-svn.sh
@@ -20,12 +20,13 @@ then
fi
svnrepo=$PWD/svnrepo
+export svnrepo
perl -w -e "
use SVN::Core;
use SVN::Repos;
\$SVN::Core::VERSION gt '1.1.0' or exit(42);
-system(qw/svnadmin create --fs-type fsfs/, '$svnrepo') == 0 or exit(41);
+system(qw/svnadmin create --fs-type fsfs/, \$ENV{svnrepo}) == 0 or exit(41);
" >&3 2>&4
x=$?
if test $x -ne 0