[arch-dev-public] [PATCH] Move build log to WORKDIR, otherwise it is lost
--- makechrootpkg | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/makechrootpkg b/makechrootpkg index e48db6f..06877b0 100755 --- a/makechrootpkg +++ b/makechrootpkg @@ -254,6 +254,11 @@ if mkarchroot -r "/chrootbuild" "$uniondir"; then mv "$f" "${WORKDIR}" fi done + + if [ -f $uniondir/build/*-build.log ]; then + echo "Moving build log to ${WORKDIR}" + mv $uniondir/build/*-build.log "${WORKDIR}" + fi else #just in case. We returned 1, make sure we fail touch "${chrootdir}/union/build/BUILD_FAILED" -- 1.6.6.1
Am Mittwoch, 10. Februar 2010 11:45:52 schrieb Francois Charette:
if [ -f $uniondir/build/*-build.log ]; then + echo "Moving build log to ${WORKDIR}" + mv $uniondir/build/*-build.log "${WORKDIR}" + fi
While you are on it, we also have *-package.log -- Pierre Schmitz, https://users.archlinux.de/~pierre
On 10/02/2010 15:11, Pierre Schmitz wrote:
Am Mittwoch, 10. Februar 2010 11:45:52 schrieb Francois Charette:
if [ -f $uniondir/build/*-build.log ]; then + echo "Moving build log to ${WORKDIR}" + mv $uniondir/build/*-build.log "${WORKDIR}" + fi
While you are on it, we also have *-package.log
Ok, perhaps the next patch will do (sent separately). F
participants (3)
-
Firmicus
-
Francois Charette
-
Pierre Schmitz