diff options
author | Erich Eckner <git@eckner.net> | 2017-10-18 15:11:15 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2017-10-18 15:11:15 +0200 |
commit | 2746088e0c225f8a576630a734cd9475e36d01b0 (patch) | |
tree | 0abe20bd380e301016653f86a7d967410b5f24ee /bin/return-assignment | |
parent | 5a6676edfa4e46c0c4d41b7eebfeb5c395a9cdaf (diff) | |
download | builder-2746088e0c225f8a576630a734cd9475e36d01b0.tar.xz |
bin/return-assignment: truly move logs of successful builds
Diffstat (limited to 'bin/return-assignment')
-rwxr-xr-x | bin/return-assignment | 3 |
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') |