Skip to content
Browse files

Locate prove correctly with threaded perls.

  • Loading branch information...
1 parent cef4655 commit c90fffd7dd9f75b01aae36dc06e298290f03667e @pjcj committed Aug 14, 2010
Showing with 3 additions and 1 deletion.
  1. +3 −1 all_versions
View
4 all_versions
@@ -75,7 +75,9 @@ for my $v (@{$Options->{version}})
my $l = readlink "$dir/$perl";
($dir) = $l =~ m|(.*)/[^/]+|;
};
- my ($prove) = grep -x, "$dir/prove", "$dir/prove$v";
+ my ($prove) = grep -x,
+ map "$dir/prove$_",
+ "", $v, $v =~ /([\d.]+)/ ? $1 : "";
if ($prove)
{
my $cpus = 1;

0 comments on commit c90fffd

Please sign in to comment.
Something went wrong with that request. Please try again.