Skip to content

Commit

Permalink
lib-git-svn.sh: Fix quoting issues with paths containing shell metach…
Browse files Browse the repository at this point in the history
…aracters

Signed-off-by: Bryan Donlan <bdonlan@fushizen.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Bryan Donlan authored and Junio C Hamano committed May 5, 2008
1 parent b480f5c commit cdf3ec0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion t/lib-git-svn.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cdf3ec0

Please sign in to comment.