Skip to content
Browse files

Fix installing into the default location

  • Loading branch information...
1 parent 9f3691d commit 0de8b1253da0ab9b7712e77269a2d64a8f2afe2a @tadzik committed
Showing with 2 additions and 1 deletion.
  1. +2 −1 bin/panda
View
3 bin/panda 100644 → 100755
@@ -69,7 +69,8 @@ my $panda;
$panda = Panda.new(
srcdir => "$pandadir/src",
- destdir => "{cwd}/%*ENV<DESTDIR>" // "$home/.perl6",
+ destdir => %*ENV<DESTDIR> ?? "{cwd}/%*ENV<DESTDIR>"
+ !! "$home/.perl6",
statefile => "$pandadir/state",
projectsfile => "$pandadir/projects.json"
);

0 comments on commit 0de8b12

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