diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2010-02-11 09:14:56 +0100 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2010-02-11 09:14:56 +0100 |
commit | 4ea489ad854930e94dae27b88cf60f62750a707b (patch) | |
tree | 4046b7a4910c8957a0e8772d2c182ad40b8fb216 | |
parent | 0346db0ff79254e720d2da84ba60172fce8d1b76 (diff) | |
download | devtools-4ea489ad854930e94dae27b88cf60f62750a707b.tar.gz devtools-4ea489ad854930e94dae27b88cf60f62750a707b.tar.xz |
Move build and package logs to WORKDIR, otherwise it is lost
-rwxr-xr-x | makechrootpkg | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/makechrootpkg b/makechrootpkg index e48db6f..9dcd1b1 100755 --- a/makechrootpkg +++ b/makechrootpkg @@ -254,6 +254,10 @@ if mkarchroot -r "/chrootbuild" "$uniondir"; then mv "$f" "${WORKDIR}" fi done + + for l in "${uniondir}"/build/*-{build,package}.log; do + [ -f "$l" ] && mv "$l" "${WORKDIR}" + done else #just in case. We returned 1, make sure we fail touch "${chrootdir}/union/build/BUILD_FAILED" |