Permalink
Browse files

Fix installing into the default location

  • Loading branch information...
1 parent ee1aa2b commit 2167d8b82be55dd2eb211f2eb900cd36a4605950 @tadzik committed Jul 18, 2012
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 2167d8b

Please sign in to comment.