use strict;
use warnings;
-use Cwd qw/abs_path/;
-use File::Temp qw/tempfile/;
-use POSIX qw/WIFEXITED WEXITSTATUS WIFSIGNALED WTERMSIG SIGINT SIGQUIT/;
+use Cwd qw/abs_path/;
+use File::Temp qw/tempfile/;
+use File::Spec::Functions qw/curdir catfile/;
+use POSIX qw/WIFEXITED WEXITSTATUS WIFSIGNALED WTERMSIG/;
BEGIN {
no warnings 'redefine';
'version',
);
- my $git = 't/bin/git';
+ my $git = catfile(curdir, qw/t bin git/);
if ($^O eq 'MSWin32') {
unless (-x $git) {
$git .= '.bat';