Skip to content
Permalink
Browse files

Don't warn about different NQP and Rakudo prefix

This case is now working correctly, so no need to warn about it.
Instead error when trying to do this with a relocatable build.
  • Loading branch information...
patzim committed Jun 1, 2019
1 parent ef0bc23 commit bf1bf73c1b1cb7c8ce617095b3a675c54f3a5d7a
Showing with 5 additions and 5 deletions.
  1. +5 −5 tools/lib/NQP/Config/Rakudo.pm
@@ -136,14 +136,14 @@ sub configure_refine_vars {
"Based on found executable $nqp_bin"
);
}
elsif ( abs_path($prefix) ne abs_path($nqp_prefix) ) {
$self->note(
'WARNING!',
elsif ( $self->cfg('relocatable') && abs_path($prefix) ne abs_path($nqp_prefix) ) {
$self->sorry(
"Installation directory '$prefix' is different from '",
abs_path($nqp_prefix),
"' where nqp is installed.\n",
"This may result in non-functional perl6 binary.\n",
"Make sure this is REALLY intended."
"This does not work when creating a relocatable setup.\n",
"A relocatable installation needs to have MoarVM, NQP and\n",
"Rakudo all in the same prefix."
);
}
}

0 comments on commit bf1bf73

Please sign in to comment.
You can’t perform that action at this time.