[Qa-jenkins-scm] [jenkins.debian.net] 01/01: obsolete transitional: add some || true

Holger Levsen holger at layer-acht.org
Mon Oct 23 13:01:39 UTC 2017


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch master
in repository jenkins.debian.net.

commit f476b85245145f28a316184299b58435f6bfa93d
Author: Holger Levsen <holger at layer-acht.org>
Date:   Mon Oct 23 15:01:34 2017 +0200

    obsolete transitional: add some || true
    
    Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
 bin/find_obsolete_transitional_packages.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bin/find_obsolete_transitional_packages.sh b/bin/find_obsolete_transitional_packages.sh
index 0722c07..4e77c50 100755
--- a/bin/find_obsolete_transitional_packages.sh
+++ b/bin/find_obsolete_transitional_packages.sh
@@ -105,11 +105,11 @@ for PKG in $(grep-dctrl -sPackage -n -FDescription "transitional.*package" --ign
 		echo "ignore $PKG because a bug has already been filed."
 		continue
 	fi
-	OLDSTABLE_HIT=$(grep-dctrl -sPackage -n -FDescription "transitional.*package" --ignore-case --regex ${PACKAGES[0]} |egrep "^$PKG$")
+	OLDSTABLE_HIT=$(grep-dctrl -sPackage -n -FDescription "transitional.*package" --ignore-case --regex ${PACKAGES[0]} |egrep "^$PKG$" || true)
 	if [ -z "$OLDSTABLE_HIT" ] ; then
 		echo "$PKG not in $OLDSTABLE, so new transitional package, so fine."
 	else
-		SID_HIT=$(grep-dctrl -sPackage -n -FDescription "transitional.*package" --ignore-case --regex ${PACKAGES[2]} |egrep "^$PKG$")
+		SID_HIT=$(grep-dctrl -sPackage -n -FDescription "transitional.*package" --ignore-case --regex ${PACKAGES[2]} |egrep "^$PKG$" || true)
 		if [ -z "$SID_HIT" ] ; then
 			echo "Transitional package $PKG in $OLDSTABLE and $STABLE, but not in sid, yay!"
 			let GOOD_COUNTER=$GOOD_COUNTER+1

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list