Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
adapt check-versions.pl error message to current Configure.pl realities
  • Loading branch information
moritz committed Nov 23, 2013
1 parent b063f81 commit 8d994cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/build/check-versions.pl
Expand Up @@ -23,11 +23,11 @@
my ($nqp_want) = split(' ', slurp('tools/build/NQP_REVISION'));

if (!$nqp_have || cmp_rev($nqp_have, $nqp_want) < 0) {
my $parrot_option = '--gen-parrot or --with-parrot=path/to/bin/parrot';
my $parrot_option = '--gen-parrot or --prefix=$prefix';
if (-x 'install/bin/parrot') {
use Cwd 'abs_path';
my $path = abs_path;
$parrot_option = "--with-parrot=$path/install/bin/parrot";
$parrot_option = "--prefix=$path/install";
}
die <<EOM
NQP $nqp_have is too old ($nqp_want required), run something like
Expand Down

0 comments on commit 8d994cf

Please sign in to comment.