[arch-dev-public] [PATCH] Do not clean build directory on successful build
It is often useful to go back through build logs after building a package and it is removed at the start of the next run anyway. Signed-off-by: Allan McRae <allan@archlinux.org> --- makechrootpkg | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/makechrootpkg b/makechrootpkg index 65db5c5..695b44b 100755 --- a/makechrootpkg +++ b/makechrootpkg @@ -256,6 +256,4 @@ if [ -e "${copydir}/build/BUILD_FAILED" ]; then echo "Build failed, check $copydir/build" rm "${copydir}/build/BUILD_FAILED" exit 1 -else - rm -rf "${copydir}"/build/* fi -- 1.7.3.3
On Thu, 9 Dec 2010 16:03:22 +1000, Allan McRae <allan@archlinux.org> wrote:
It is often useful to go back through build logs after building a package and it is removed at the start of the next run anyway ...
Correct, it's cleaned up before building anyway. -- Pierre Schmitz, https://users.archlinux.de/~pierre
participants (2)
-
Allan McRae
-
Pierre Schmitz