Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
make bootstrap.pl more robust
do not add ext/ to lib once ext/ is installed
  • Loading branch information
moritz committed Jul 13, 2012
1 parent a5814af commit 04b6755
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion bootstrap.pl
@@ -1,5 +1,8 @@
use v6;

%*ENV<PERL6LIB> = "{%*ENV<PERL6LIB> // ''}:{cwd}/ext:{cwd}/lib";
my $oldenv = %*ENV<PERL6LIB> // '';
my $env_sep = $*VM<config><osname> eq 'MSWin32' ?? ';' !! ':';
%*ENV<PERL6LIB> = join $env_sep, $oldenv, cwd() ~ '/ext', cwd() ~ '/lib';
shell "perl6 bin/panda install File::Tools JSON::Tiny Test::Mock";
%*ENV<PERL6LIB> = join $env_sep, $oldenv, cwd() ~ '/lib';
shell "perl6 bin/panda install .";

0 comments on commit 04b6755

Please sign in to comment.