diff options
author | Christopher Baines <mail@cbaines.net> | 2015-11-29 14:15:56 +0000 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2015-11-29 14:32:04 +0000 |
commit | 2ec3e64746761eb03431d82d5c576449751618bd (patch) | |
tree | 71c8e0668d8a96425c473a7500d9d1809be860d9 /pbuilder-buildpackage-funcs | |
parent | 441ffe2ef240faf9e33130f868043a4f22c6c268 (diff) | |
download | pbuilder-2ec3e64746761eb03431d82d5c576449751618bd.tar pbuilder-2ec3e64746761eb03431d82d5c576449751618bd.tar.gz |
Create export_additional_buildresults function
Diffstat (limited to 'pbuilder-buildpackage-funcs')
-rw-r--r-- | pbuilder-buildpackage-funcs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/pbuilder-buildpackage-funcs b/pbuilder-buildpackage-funcs index f93d7ee..9ffbc24 100644 --- a/pbuilder-buildpackage-funcs +++ b/pbuilder-buildpackage-funcs @@ -168,3 +168,10 @@ EOF cat "$tmpcl" >> "$cl" rm "$tmpcl" } + +function export_additional_buildresults() { + for FILE in "${ADDITIONAL_BUILDRESULTS[@]}"; do + log.i "Trying to save additional result ${FILE}" + cp -a "${BUILDPLACE}$BUILDDIR/"*"/${FILE}" "${BUILDRESULT}" || true + done +} |