Permalink
Browse files

Merge pull request #20 from FROGGS/master

fixing destdir, windows absolute paths dont start with slash
  • Loading branch information...
2 parents 2db413d + d519ac8 commit a918d5369c8b36ce2c42135970ccbd7c59e95f89 @tadzik committed Sep 18, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 bin/panda
View
@@ -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",

0 comments on commit a918d53

Please sign in to comment.