Skip to content
Browse files

ACTION_alien's invokation of alien_build now checks for the return st…

…atus and dies if unsuccesful
  • Loading branch information...
1 parent f7c2fbb commit 1e4ed50c51834c248c92fc4618f5804ee368fcf8 @jberger jberger committed Apr 29, 2012
Showing with 4 additions and 1 deletion.
  1. +4 −1 lib/Alien/Base/ModuleBuild.pm
View
5 lib/Alien/Base/ModuleBuild.pm
@@ -256,7 +256,10 @@ sub ACTION_alien {
print "Done\n";
print "Building library ... ";
- $self->alien_build;
+ unless ($self->alien_build) {
+ print "Failed\n";
+ croak "Build not completed";
+ }
print "Done\n";
}

0 comments on commit 1e4ed50

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