Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

absolute paths on windows never start with a slash

`$home` already is `C:\Documents and ...`, you can't put cwd before that.
  • Loading branch information...
commit d519ac86694fb4856779afecd4056de2aeb8499e 1 parent 50c4156
Tobias Leich authored September 18, 2012

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  bin/panda
2  bin/panda
@@ -92,7 +92,7 @@ my $panda;
92 92
     mkpath $pandadir unless $pandadir.IO ~~ :d;
93 93
 
94 94
     my $destdir = %*ENV<DESTDIR> || "$home/.perl6";
95  
-       $destdir = "{cwd}/$destdir" unless $destdir ~~ /^ '/' /;
  95
+       $destdir = "{cwd}/$destdir" if $*OS ne 'MSWin32' && $destdir !~~ /^ '/' /;
96 96
 
97 97
     $panda = Panda.new(
98 98
         srcdir       => "$pandadir/src",

0 notes on commit d519ac8

Please sign in to comment.
Something went wrong with that request. Please try again.