aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xpbuilder-buildpackage5
1 files changed, 5 insertions, 0 deletions
diff --git a/pbuilder-buildpackage b/pbuilder-buildpackage
index 5ab7a1b..994a939 100755
--- a/pbuilder-buildpackage
+++ b/pbuilder-buildpackage
@@ -175,6 +175,11 @@ if ! wait "${BUILD_PID}"; then
trap umountproc_cleanbuildplace_trap exit sighup sigpipe
eval "${KILL_WAIT_PID}"
log.e "Failed autobuilding of package"
+ if [ -d "${BUILDRESULT}" ]; then
+ export_additional_buildresults
+ else
+ log.e "BUILDRESULT=[$BUILDRESULT] is not a directory."
+ fi
executehooks "C"
exit 1;
else