summaryrefslogtreecommitdiff
path: root/bin/return-assignment
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-09-14 09:26:57 +0200
committerErich Eckner <git@eckner.net>2018-09-14 09:26:57 +0200
commitd4e92e298ab3f3dc9653217e16f6a6231d7f9195 (patch)
tree31a165e8dcc5b1c426466514d1a26925c90984fc /bin/return-assignment
parent064af850ecec8144265d0491401b3f9818cb91a1 (diff)
downloadbuilder-d4e92e298ab3f3dc9653217e16f6a6231d7f9195.tar.xz
bin/return-assignment: tell which architecture the broken package was
Diffstat (limited to 'bin/return-assignment')
-rwxr-xr-xbin/return-assignment9
1 files changed, 6 insertions, 3 deletions
diff --git a/bin/return-assignment b/bin/return-assignment
index b27699a..6b4c40b 100755
--- a/bin/return-assignment
+++ b/bin/return-assignment
@@ -2,10 +2,12 @@
# report back on a build assignment
# either on success via:
-# "$0 $package $revision $mod_revision $repository" and tar'ed packages and logs
+# "$0 $package $revision $mod_revision $repository $arch $sub_pkgrel" and tar'ed packages and logs
# (= a tar of package(s), signature(s) and log(s)) on stdin
# or on failure via:
-# "$0 $package $revision $mod_revision $repository ERROR" and tar'ed logs
+# "$0 $package $revision $mod_revision $repository $arch ERROR" and tar'ed logs
+# or to abort:
+# "$0 ABORT"
# exit codes:
# 0: ok
@@ -235,7 +237,8 @@ if [ "$6" = 'ERROR' ]; then
# shellcheck disable=SC2119
{
# shellcheck disable=SC2154
- printf '%s is broken (says %s)' \
+ printf '%s/%s is broken (says %s)' \
+ "$5" \
"$1" \
"${slave}"
if [ "$1" = 'electron' ]; then