aboutsummaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
Diffstat (limited to 'Tools')
-rwxr-xr-xTools/portbuild/scripts/dopackages4
1 files changed, 4 insertions, 0 deletions
diff --git a/Tools/portbuild/scripts/dopackages b/Tools/portbuild/scripts/dopackages
index 4df28ea7104..2dbe6388d2f 100755
--- a/Tools/portbuild/scripts/dopackages
+++ b/Tools/portbuild/scripts/dopackages
@@ -237,6 +237,10 @@ dobuild() {
echo "started at $(date)"
start=$(date +%s)
${QMANAGER_PATH}/packagebuild ${arch} ${branch} ${buildid} > ${builddir}/${journalname} 2>&1 < /dev/null
+ result=$?
+ if [ $result -ne 0 ]; then
+ echo "ERROR: packagebuild ${arch} ${branch} ${buildid} failed: see ${builddir}/${journalname} for details"
+ fi
echo "ended at $(date)"
end=$(date +%s)
echo "Build took $(date -u -j -r $((end - start)) | awk '{print $4}')"