diff options
author | Jan Dubois <jand@activestate.com> | 2010-07-20 17:50:46 -0700 |
---|---|---|
committer | Jan Dubois <jand@activestate.com> | 2010-07-20 17:50:46 -0700 |
commit | 38a188f00b421226043888cca8bf19e98bad0873 (patch) | |
tree | f3ad41b5624c742d4e92d3e7f677a5ee9fabaf2a /t/porting | |
parent | 70f768d983ee29d493442c9fd8547be31839c971 (diff) | |
download | perl-38a188f00b421226043888cca8bf19e98bad0873.tar.gz |
Use .\ instead of ./ on Windows
Diffstat (limited to 't/porting')
-rw-r--r-- | t/porting/authors.t | 3 |
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 |