diff --git a/t/lib-git-svn.sh b/t/lib-git-svn.sh
index d8f33557911389ab0e179b70e27d85264ef5ca0a..5d3bd9dda916d454997da0015c35d0fa7d9f72c0 100644 (file)
--- a/t/lib-git-svn.sh
+++ b/t/lib-git-svn.sh
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