[arch-dev-public] [PATCH] Move build log to WORKDIR, otherwise it is lost
Francois Charette
francois at archlinux.org
Wed Feb 10 05:45:52 EST 2010
---
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
More information about the arch-dev-public
mailing list