summaryrefslogtreecommitdiff
path: root/makechrootpkg
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2010-12-09 16:03:22 +1000
committerPierre Schmitz <pierre@archlinux.de>2010-12-09 10:35:13 +0100
commitf98eaebd1ba12ae1d0227b8d4fe951feec5119e3 (patch)
treec71c690cf079bb456a9d0f4c611f3523e870a75b /makechrootpkg
parent7a369b3c35b397207bffe00b7de765a5317177e9 (diff)
downloaddevtools-f98eaebd1ba12ae1d0227b8d4fe951feec5119e3.tar.xz
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> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
Diffstat (limited to 'makechrootpkg')
-rwxr-xr-xmakechrootpkg2
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