From 2746088e0c225f8a576630a734cd9475e36d01b0 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 18 Oct 2017 15:11:15 +0200 Subject: bin/return-assignment: truly move logs of successful builds --- bin/return-assignment | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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') -- cgit v1.2.3-70-g09d2