From 52e140f2fe6633c248438416c9c0ff5d2e015ee1 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Sun, 2 May 2010 15:16:53 +0200 Subject: exit 1 on build failure --- makechrootpkg | 1 + 1 file changed, 1 insertion(+) (limited to 'makechrootpkg') diff --git a/makechrootpkg b/makechrootpkg index c1e78d9..fa1070a 100755 --- a/makechrootpkg +++ b/makechrootpkg @@ -241,6 +241,7 @@ done 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 -- cgit v1.2.3-70-g09d2