Improved detection of build errors.

master
Luka Vandervelden 2019-08-13 13:48:09 +02:00
parent 46f2c4b0cf
commit 856d744d91
1 changed files with 3 additions and 2 deletions

View File

@ -275,7 +275,8 @@ class Package::Recipe
instructions.to_a.each do |instruction|
if instruction.run(@context, self).failed?
break BuildStatus::Failed
success = false
break
end
end
@ -283,7 +284,7 @@ class Package::Recipe
ENV["PKG"] = nil
do_splits
do_splits if success
success
end