From 2063764952533636a9167d1570d5aa5103594122 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Mon, 10 Dec 2012 16:37:53 +0100 Subject: make d-i build jobs end 'unstable' if there is no debian/control --- bin/d-i_build.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bin/d-i_build.sh b/bin/d-i_build.sh index d178dd6e..a70646a5 100755 --- a/bin/d-i_build.sh +++ b/bin/d-i_build.sh @@ -31,8 +31,9 @@ pdebuild_package() { # check if we need to do anything # if [ ! -f debian/control ] ; then - echo "Oh, a source package without debian/control..." - exit 1 + # the Warning: will make the build end in status "unstable" but not "failed" + echo "Warning: A source package without debian/control, so no build will be tried." + return fi ARCH=$(dpkg --print-architecture) EGREP_PATTERN="( all| any| $ARCH)" -- cgit v1.2.3-70-g09d2