From 0137cb16e40df28cb0e20bce398e87465a514a9c Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Fri, 18 Dec 2015 17:14:10 +0100 Subject: reproducible rpms: detect failures to resolve dependencies --- bin/reproducible_html_rpms.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/reproducible_html_rpms.sh') diff --git a/bin/reproducible_html_rpms.sh b/bin/reproducible_html_rpms.sh index c21de73f..339feb39 100755 --- a/bin/reproducible_html_rpms.sh +++ b/bin/reproducible_html_rpms.sh @@ -47,7 +47,7 @@ for PKG in $(find $RPMBASE/$RELEASE/$ARCH/* -maxdepth 1 -type d -exec basename { echo " $PKG" >> $HTML_BUFFER echo " " >> $HTML_BUFFER if [ -z "$(cd $RPMBASE/$RELEASE/$ARCH/$PKG/ ; ls *.rpm.html 2>/dev/null)" ] ; then - if [ ! -z "$(grep '==> ERROR: Could not resolve all dependencies' $RPMBASE/$RELEASE/$ARCH/$PKG/build1.log)" ] ; then + if [ ! -z "$(egrep '^DEBUG: Error: No Package found for' $RPMBASE/$RELEASE/$ARCH/$PKG/build1.log)" ] ; then HTML_TARGET=$HTML_DEPWAIT let NR_DEPWAIT+=1 echo " \"depwait could not resolve dependencies" >> $HTML_BUFFER -- cgit v1.2.3-54-g00ecf