From 38a188f00b421226043888cca8bf19e98bad0873 Mon Sep 17 00:00:00 2001 From: Jan Dubois Date: Tue, 20 Jul 2010 17:50:46 -0700 Subject: [PATCH] Use .\ instead of ./ on Windows --- t/porting/authors.t | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/t/porting/authors.t b/t/porting/authors.t index da8cf95..76aac55 100644 --- a/t/porting/authors.t +++ b/t/porting/authors.t @@ -14,6 +14,7 @@ if (! -d '.git' ) { exit 0; } -system("git log --pretty=fuller | ./perl -Ilib Porting/checkAUTHORS.pl --tap --acknowledged AUTHORS -"); +my $dotslash = $^O eq "MSWin32" ? ".\\" : "./"; +system("git log --pretty=fuller | ${dotslash}perl -Ilib Porting/checkAUTHORS.pl --tap --acknowledged AUTHORS -"); # EOF -- 2.7.4