From a24344e0a705369301942a9d9ac5d3c4a24a8326 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 18 Oct 2017 13:29:43 +0200 Subject: bin/return-assignment, bin/cleanup: sort build logs by success/error. --- bin/return-assignment | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin/return-assignment') diff --git a/bin/return-assignment b/bin/return-assignment index e1aec3a..e6ca07d 100755 --- a/bin/return-assignment +++ b/bin/return-assignment @@ -48,7 +48,7 @@ if [ "$5" = 'ERROR' ]; then # save sent build logs tar -x \ - -C "${build_log_directory}" \ + -C "${build_log_directory}/error" \ --wildcards \ --no-wildcards-match-slash \ --transform="s|^|$1.$2.$3.$4.|" \ @@ -182,7 +182,7 @@ if [ -n "${package_errors}" ]; then fi # move build-logs -find . -maxdepth 1 -name '*.build-log.gz' -exec mv '{}' "${build_log_directory}/$1.$2.$3.$4.{}" \; +find . -maxdepth 1 -name '*.build-log.gz' -exec mv '{}' "${build_log_directory}/success/$1.$2.$3.$4.{}" \; # move packages destination=$(official_or_community "$1.$2.$3.$4" 'staging') -- cgit v1.2.3-54-g00ecf