From a902d1f8c381bd6c31eaa81a1a5bea18f1187463 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Sat, 12 Dec 2015 12:08:32 +0100 Subject: reproducible archlinux: minor refactoring to gain some tiny performance --- bin/reproducible_html_archlinux.sh | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'bin') diff --git a/bin/reproducible_html_archlinux.sh b/bin/reproducible_html_archlinux.sh index 11220893..53b422a0 100755 --- a/bin/reproducible_html_archlinux.sh +++ b/bin/reproducible_html_archlinux.sh @@ -54,14 +54,6 @@ for REPOSITORY in $ARCHLINUX_REPOS ; do HTML_TARGET=$HTML_DEPWAIT let NR_DEPWAIT+=1 echo " \"depwait failed to install dependencies" >> $HTML_BUFFER - elif [ ! -z "$(egrep '==> ERROR: A failure occurred in (build|package)' $ARCHBASE/$REPOSITORY/$PKG/build1.log)" ] ; then - HTML_TARGET=$HTML_FTBFS - let NR_FTBFS+=1 - echo " \"ftbfs failed to build from source" >> $HTML_BUFFER - elif [ ! -z "$(egrep '==> ERROR: A failure occurred in check' $ARCHBASE/$REPOSITORY/$PKG/build1.log)" ] ; then - HTML_TARGET=$HTML_FTBFS - let NR_FTBFS+=1 - echo " \"ftbfs failed to build from source, while running tests" >> $HTML_BUFFER elif [ ! -z "$(egrep '==> ERROR: Failure while downloading' $ARCHBASE/$REPOSITORY/$PKG/build1.log)" ] ; then HTML_TARGET=$HTML_404 let NR_404+=1 @@ -70,6 +62,14 @@ for REPOSITORY in $ARCHLINUX_REPOS ; do HTML_TARGET=$HTML_FTBFS let NR_FTBFS+=1 echo " \"ftbfs failed to verify source" >> $HTML_BUFFER + elif [ ! -z "$(egrep '==> ERROR: A failure occurred in (build|package)' $ARCHBASE/$REPOSITORY/$PKG/build1.log)" ] ; then + HTML_TARGET=$HTML_FTBFS + let NR_FTBFS+=1 + echo " \"ftbfs failed to build from source" >> $HTML_BUFFER + elif [ ! -z "$(egrep '==> ERROR: A failure occurred in check' $ARCHBASE/$REPOSITORY/$PKG/build1.log)" ] ; then + HTML_TARGET=$HTML_FTBFS + let NR_FTBFS+=1 + echo " \"ftbfs failed to build from source, while running tests" >> $HTML_BUFFER elif [ ! -z "$(egrep 'makepkg was killed by timeout after' $ARCHBASE/$REPOSITORY/$PKG/build1.log)" ] ; then HTML_TARGET=$HTML_FTBFS let NR_FTBFS+=1 -- cgit v1.2.3-70-g09d2