summaryrefslogtreecommitdiff
path: root/t/porting/authors.t
diff options
context:
space:
mode:
authorJan Dubois <jand@activestate.com>2010-07-20 17:50:46 -0700
committerJan Dubois <jand@activestate.com>2010-07-20 17:50:46 -0700
commit38a188f00b421226043888cca8bf19e98bad0873 (patch)
treef3ad41b5624c742d4e92d3e7f677a5ee9fabaf2a /t/porting/authors.t
parent70f768d983ee29d493442c9fd8547be31839c971 (diff)
downloadperl-38a188f00b421226043888cca8bf19e98bad0873.tar.gz
Use .\ instead of ./ on Windows
Diffstat (limited to 't/porting/authors.t')
-rw-r--r--t/porting/authors.t3
1 files changed, 2 insertions, 1 deletions
diff --git a/t/porting/authors.t b/t/porting/authors.t
index da8cf953ea..76aac55c85 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