Skip to content
Browse files

Fix a bug that causes the app to be installed in ARRAY(0x1c577f8)/

  • Loading branch information...
1 parent 1a165de commit 626ff322d39cec62f63a318b3d325a391dc58aa0 @potyl committed May 25, 2012
Showing with 5 additions and 0 deletions.
  1. +5 −0 inc/MyBuilder.pm
View
5 inc/MyBuilder.pm
@@ -63,6 +63,11 @@ sub new {
sub ACTION_install {
my $self = shift;
+ # If we have more than one install base then take the last entry, otherwise
+ # we will install the application in ARRAY(0x1c577f8)/
+ my $install_base = $self->install_base;
+ $self->install_base($install_base->[-1]) if ref $install_base eq 'ARRAY';
+
# Make sure that 'share/' has an installation path
my $p = $self->{properties};
if (! exists $p->{install_path}{share}) {

0 comments on commit 626ff32

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