Skip to content

Commit

Permalink
fix local module install on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
stmuk committed Jul 19, 2016
1 parent ebd5137 commit f23dc6d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tools/build/module-install.pl
Expand Up @@ -7,10 +7,13 @@

my $exit = 0;

my $path_sep = "/";
$path_sep = "\\" if ( $^O eq 'MSWin32' );

while (<>) {
next if /^\s*(#|$)/;
my ($module) = /(\S+)/;
$exit ||= system $perl6bin, $pandabin, '--force', "install", "modules/$module";
$exit ||= system $perl6bin, $pandabin, '--force', "install", "modules$path_sep$module";
}

exit $exit;

0 comments on commit f23dc6d

Please sign in to comment.