Skip to content

Commit

Permalink
Fix a problem with checkout out nqp
Browse files Browse the repository at this point in the history
Some options were unnecessarily quoted.
  • Loading branch information
vrurg committed May 18, 2019
1 parent 4e15f20 commit 4816277
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion 3rdparty/nqp-configure
12 changes: 8 additions & 4 deletions tools/lib/NQP/Config/Rakudo.pm
Expand Up @@ -421,10 +421,14 @@ sub gen_nqp {
"--git-protocol=$git_protocol",
);

push @cmd, $self->opts_for_configure(
qw<git-depth git-reference github-user nqp-repo moar-repo
no-relocatable ignore-errors>
);
for my $opt (
qw<git-depth git-reference github-user nqp-repo moar-repo
no-relocatable ignore-errors>
)
{
my $opt_str = $self->make_option( $opt, no_quote => 1 );
push @cmd, $opt_str if $opt_str;
}

if ( defined $gen_moar ) {
push @cmd, $gen_moar ? "--gen-moar=$gen_moar" : '--gen-moar';
Expand Down

0 comments on commit 4816277

Please sign in to comment.