summaryrefslogtreecommitdiff
path: root/bin/return-assignment
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-01-12 21:44:14 +0100
committerErich Eckner <git@eckner.net>2018-01-12 21:44:14 +0100
commite57e461752960be58fefdd07d825c219810edb49 (patch)
treec101487ec13b4cae5d93d78d5e882939562c800d /bin/return-assignment
parenta788940f5f675230ac0b91c70a4881f47c7538c1 (diff)
downloadbuilder-e57e461752960be58fefdd07d825c219810edb49.tar.xz
bin/return-assignment: bugfix?
Diffstat (limited to 'bin/return-assignment')
-rwxr-xr-xbin/return-assignment4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/return-assignment b/bin/return-assignment
index 82ab03a..5eb9c24 100755
--- a/bin/return-assignment
+++ b/bin/return-assignment
@@ -133,7 +133,7 @@ if [ "$5" = 'ERROR' ]; then
if [ -n "${haskell_rebuild_packages}" ]; then
# shellcheck disable=SC2086
"${base_dir}/bin/seed-build-list" ${haskell_rebuild_packages} | \
- sed 's/\(\.[^.]\+\)\{3\}$//'
+ sed 's/ .*$//'
fi
)
@@ -143,7 +143,7 @@ if [ "$5" = 'ERROR' ]; then
"$1" \
"${slave}"
if [ -n "${rescheduled_packages}" ]; then
- printf ' - I rescheduled:'
+ printf -- ' - I rescheduled:'
# shellcheck disable=SC2086
printf ' %s,' ${rescheduled_packages} | \
sed 's/,$/./'