Skip to content
Browse files

Rename method destdir so it doesn't hide $.destdir.

  • Loading branch information...
1 parent f184335 commit 246ad58c593f633b936a8a9f109a95e0ea21ba8e @colomon colomon committed Jul 3, 2014
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/Panda/Installer.pm
View
4 lib/Panda/Installer.pm
@@ -3,7 +3,7 @@ use Panda::Common;
use File::Find;
use Shell::Command;
-has $.destdir = self.destdir();
+has $.destdir = self.default-destdir();
method sort-lib-contents(@lib) {
my @generated = @lib.grep({ $_ ~~ / \. <{compsuffix}> $/});
@@ -12,7 +12,7 @@ method sort-lib-contents(@lib) {
}
# default install location
-method destdir {
+method default-destdir {
my $ret = %*ENV<DESTDIR>;
if defined($ret) && $*OS ne 'MSWin32' && $ret !~~ /^ '/' / {
$ret = "{cwd}/$ret" ;

0 comments on commit 246ad58

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