X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=t%2Flib-git-svn.sh;h=5d3bd9dda916d454997da0015c35d0fa7d9f72c0;hb=c6955fec546f339b258a1cba0e23618010e5c260;hp=d8f33557911389ab0e179b70e27d85264ef5ca0a;hpb=d1a8d0ea5fb2d4d43d0ea8f2fe45ec1fce7ec4bc;p=git.git diff --git a/t/lib-git-svn.sh b/t/lib-git-svn.sh index d8f335579..5d3bd9dda 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