Skip to content

Commit

Permalink
Merge pull request #20 from FROGGS/master
Browse files Browse the repository at this point in the history
fixing destdir, windows absolute paths dont start with slash
  • Loading branch information
Tadeusz Sośnierz committed Sep 18, 2012
2 parents 2db413d + d519ac8 commit a918d53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/panda
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ my $panda;
mkpath $pandadir unless $pandadir.IO ~~ :d;

my $destdir = %*ENV<DESTDIR> || "$home/.perl6";
$destdir = "{cwd}/$destdir" unless $destdir ~~ /^ '/' /;
$destdir = "{cwd}/$destdir" if $*OS ne 'MSWin32' && $destdir !~~ /^ '/' /;

$panda = Panda.new(
srcdir => "$pandadir/src",
Expand Down

0 comments on commit a918d53

Please sign in to comment.