/gist:697f1a390eada9add0d3 Secret
Created
April 8, 2015 08:38
Star
You must be signed in to star a gist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/tools/build/create-moar-runner.pl b/tools/build/create-moar-runner.pl | |
| index 9e9a4aa..f83d07d 100644 | |
| --- a/tools/build/create-moar-runner.pl | |
| +++ b/tools/build/create-moar-runner.pl | |
| @@ -5,9 +5,13 @@ use strict; | |
| use warnings; | |
| use 5.008; | |
| use File::Spec; | |
| +use Cwd qw(realpath); | |
| my ($moar, $mbc, $install_to, $p6_mbc_path, @libpaths) = @ARGV; | |
| -$p6_mbc_path = File::Spec->rel2abs($p6_mbc_path || '.'); | |
| +$p6_mbc_path = realpath(File::Spec->rel2abs($p6_mbc_path || '.')); | |
| +$moar = realpath($moar); | |
| + | |
| +@libpaths = map { realpath($_) } @libpaths; | |
| if ($^O eq 'MSWin32') { | |
| $install_to .= '.bat'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment