[arch-dev-public] [PATCH] Do not clean build directory on successful build
Allan McRae
allan at archlinux.org
Thu Dec 9 01:03:22 EST 2010
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 at 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
More information about the arch-dev-public
mailing list