Permalink
Browse files

Merge pull request #25 from xenoterracide/master

fixes issue with unwritable directory
  • Loading branch information...
2 parents ec22a1e + 1361fcb commit f4f19b5a8cb8bc95f5c7652434232b49322ca511 @tadzik committed Nov 26, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 bootstrap.pl
View
@@ -1,5 +1,6 @@
#!/usr/bin/env perl6
use v6;
+use Shell::Command;
say '==> Bootstrapping Panda';
@@ -12,10 +13,11 @@
$destdir = $prefix;
$panda-base = "$prefix/panda";
try mkdir $destdir;
- try mkdir $panda-base unless $panda-base.IO ~~ :d;
+ try mkpath $panda-base unless $panda-base.IO ~~ :d;
last if $panda-base.path.w
}
unless $panda-base.path.w {
+ warn "panda-base: { $panda-base.perl }";
die "Found no writable directory into which panda could be installed";
}

0 comments on commit f4f19b5

Please sign in to comment.