From 552d757ba262b3fd67aef60c9e121f4a53fa64b2 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Fri, 14 Sep 2018 09:53:30 +0200 Subject: bin/return-assignment: save architecture in log-file name --- bin/return-assignment | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bin') diff --git a/bin/return-assignment b/bin/return-assignment index 6b4c40b..aacf928 100755 --- a/bin/return-assignment +++ b/bin/return-assignment @@ -120,7 +120,7 @@ if [ "$6" = 'ERROR' ]; then -C "${build_log_directory}/error" \ --wildcards \ --no-wildcards-match-slash \ - --transform="s|^|$1.$2.$3.$4.|" \ + --transform="s|^|$1.$2.$3.$4.$5.|" \ '*.build-log.gz' ) @@ -148,7 +148,7 @@ if [ "$6" = 'ERROR' ]; then printf '%s' "${identifier}" | \ base64 -d )\$" \ - "${build_log_directory}/error/$1.$2.$3.$4.${saved_build_log}"; then + "${build_log_directory}/error/$1.$2.$3.$4.$5.${saved_build_log}"; then printf ' (from_base64("%s"),%s,from_base64("%s")),' \ "$( @@ -210,7 +210,7 @@ if [ "$6" = 'ERROR' ]; then haskell_rebuild_packages=$( find "${build_log_directory}/error" -type f \ - -name "$1.$2.$3.$4.*.build-log.gz" \ + -name "$1.$2.$3.$4.$5.*.build-log.gz" \ -exec zgrep -qFx ' The following packages are broken because other packages they depend on are missing. These broken packages must be rebuilt before they can be used.' {} \; \ -exec zcat {} \; | \ sed -n ' -- cgit v1.2.3-54-g00ecf