Skip to content

Commit

Permalink
Use moar when --gen-moar.
Browse files Browse the repository at this point in the history
Fix.
  • Loading branch information
vrurg committed May 16, 2019
1 parent 10fd51f commit 7732ed6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/lib/NQP/Config/NQP.pm
Expand Up @@ -27,7 +27,7 @@ sub configure_backends {
else {
my $have_gen_moar = defined $options->{'gen-moar'};
my $moar_exe = can_run( $self->moar_config->{moar} ) || can_run('moar');
if ( $moar_exe ) {
if ( $moar_exe || $have_gen_moar ) {
say "===WARNING!===\n",
" No backends specified on the command line.\n",
" Using 'moar' because we found '$moar_exe' executable."
Expand Down

0 comments on commit 7732ed6

Please sign in to comment.