X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=t%2Flib-git-svn.sh;h=0f7f35ccc9e1315d3ac8e5d37df51c106847d920;hb=c24138bc55bcbbde2ea8601c504752e5a39f53f2;hp=56549623430ca6bea2de35bbae7d2d211720da3b;hpb=00d3278c8534a8244ae3447189401111e017fd5d;p=git.git diff --git a/t/lib-git-svn.sh b/t/lib-git-svn.sh index 565496234..0f7f35ccc 100644 --- a/t/lib-git-svn.sh +++ b/t/lib-git-svn.sh @@ -14,8 +14,9 @@ if ! test_have_prereq PERL; then fi GIT_DIR=$PWD/.git -GIT_SVN_DIR=$GIT_DIR/svn/git-svn +GIT_SVN_DIR=$GIT_DIR/svn/refs/remotes/git-svn SVN_TREE=$GIT_SVN_DIR/svn-tree +PERL=${PERL:-perl} svn >/dev/null 2>&1 if test $? -ne 1 @@ -29,7 +30,7 @@ export svnrepo svnconf=$PWD/svnconf export svnconf -perl -w -e " +$PERL -w -e " use SVN::Core; use SVN::Repos; \$SVN::Core::VERSION gt '1.1.0' or exit(42); @@ -130,7 +131,7 @@ stop_httpd () { } convert_to_rev_db () { - perl -w -- - "$@" <<\EOF + $PERL -w -- - "$@" <<\EOF use strict; @ARGV == 2 or die "Usage: convert_to_rev_db "; open my $wr, '+>', $ARGV[1] or die "$!: couldn't open: $ARGV[1]";