Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
beautify tools/build/gen-moar-runner.pl
I do not like overdose of backslashes
  • Loading branch information
moritz committed Oct 29, 2013
1 parent 54f6198 commit 292dfa6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tools/build/gen-moar-runner.pl
Expand Up @@ -20,8 +20,10 @@
my $install_to = 'nqp-m';
open my $fh, ">", $install_to
or die "Could not open $install_to: $!";
print $fh "#!/bin/sh\n";
print $fh "exec $moar nqp.moarvm \"\$\@\"\n";
printf $fh <<'EOS', $moar;
#!/bin/sh
exec %s nqp.moarvm "$@"
EOS
close $fh
or die "Could not close $install_to: $!";
chmod 0755, $install_to;
Expand Down

0 comments on commit 292dfa6

Please sign in to comment.