Skip to content

Commit

Permalink
Attempt at fixing cpantesters fail.
Browse files Browse the repository at this point in the history
  • Loading branch information
stephan48 committed Mar 6, 2012
1 parent a9bbd53 commit 3350d8e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions t/06_script.t
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ sub call_script {
my $command = shift // '';
die "suspicious command: '$command'" unless $command =~ /^\w*$/;

# explicit interpreter usage for windows
my $interpreter = ($^O =~ /MSWin/) ? $^X : '';
# explicit interpreter usage cause of windows and cpantesters
my $interpreter = $^X;

# call and return STDOUT output
open my $script, '-|', "$interpreter $Bin/../contenticious $command"
Expand Down

0 comments on commit 3350d8e

Please sign in to comment.