Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/return-assignment
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-10-18 13:29:43 +0200
committerErich Eckner <git@eckner.net>2017-10-18 13:29:43 +0200
commita24344e0a705369301942a9d9ac5d3c4a24a8326 (patch)
treefb362b252f89d2d7954b818782b2c7ab7d9755d6 /bin/return-assignment
parent43a932816ed014e193d91c04a6d355baa6deb41d (diff)
bin/return-assignment, bin/cleanup: sort build logs by success/error.
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 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')