diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-10-17 00:01:58 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-10-17 00:01:58 +0200 |
commit | 0d26aab123485864777d3dc50850f5d2f7faa853 (patch) | |
tree | 321d88c7c91ddb446dfea69581b55f718767e25b /bin | |
parent | 307247cd4a8689653aa9525c6f916bc16eb4cc86 (diff) | |
download | jenkins.debian.net-0d26aab123485864777d3dc50850f5d2f7faa853.tar.xz |
reproducible arch: detect failures to resolve dependencies
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/reproducible_html_archlinux.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/bin/reproducible_html_archlinux.sh b/bin/reproducible_html_archlinux.sh index 4597199a..b1a99152 100755 --- a/bin/reproducible_html_archlinux.sh +++ b/bin/reproducible_html_archlinux.sh @@ -40,7 +40,11 @@ for PKG in $(find $ARCHBASE/* -maxdepth 1 -type d -exec basename {} \;) ; do fi done if [ -z "$(cd $ARCHBASE/$PKG/ ; ls *.pkg.tar.xz.html 2>/dev/null)" ] ; then - write_page " <td>failed to build from source</td>" + if [ ! -z "$(grep 'ERROR: Could not resolve all dependencies' $ARCHBASE/$PKG/build1.log)" ] ; then + write_page " <td>could not resolve dependencies</td>" + else + write_page " <td>failed to build from source</td>" + fi else write_page " <td>" for ARTIFACT in $(cd $ARCHBASE/$PKG/ ; ls *.pkg.tar.xz.html) ; do |