Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-10-18 15:11:15 +0200
committerErich Eckner <git@eckner.net>2017-10-18 15:11:15 +0200
commit2746088e0c225f8a576630a734cd9475e36d01b0 (patch)
tree0abe20bd380e301016653f86a7d967410b5f24ee /bin
parent5a6676edfa4e46c0c4d41b7eebfeb5c395a9cdaf (diff)
bin/return-assignment: truly move logs of successful builds
Diffstat (limited to 'bin')
-rwxr-xr-xbin/return-assignment3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/return-assignment b/bin/return-assignment
index e6ca07d..8299a3e 100755
--- a/bin/return-assignment
+++ b/bin/return-assignment
@@ -182,7 +182,8 @@ if [ -n "${package_errors}" ]; then
fi
# move build-logs
-find . -maxdepth 1 -name '*.build-log.gz' -exec mv '{}' "${build_log_directory}/success/$1.$2.$3.$4.{}" \;
+find . -maxdepth 1 -name '*.build-log.gz' -printf "%p ${build_log_directory}/success/$1.$2.$3.$4.%f\n" | \
+ xargs -rn2 mv
# move packages
destination=$(official_or_community "$1.$2.$3.$4" 'staging')