[SCM] pkg-kde-jenkins packaging branch, master, updated. 2b3a7af147c50274fbd109d636bc692083044649

Maximiliano Curia maxy at moszumanska.debian.org
Tue Nov 1 15:49:23 UTC 2016


Gitweb-URL: http://git.debian.org/?p=pkg-kde/pkg-kde-jenkins.git;a=commitdiff;h=7260b2e

The following commit has been merged in the master branch:
commit 7260b2e8106f5df834481025973fbce9bfc2b49d
Author: Maximiliano Curia <maxy at gnuservers.com.ar>
Date:   Tue Oct 4 14:24:07 2016 +0200

    Retry on Writing more data than expected
---
 scripts/build_build.sh | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/scripts/build_build.sh b/scripts/build_build.sh
index bfbfd38..57d9ab7 100755
--- a/scripts/build_build.sh
+++ b/scripts/build_build.sh
@@ -118,7 +118,9 @@ esac
 if ! sbuild "${SBUILD_ARGS[@]}" "$dsc_file"; then
     # Check if it was a Hash Sum mismatch and retry, once
     buildlog=$(find -type f -name '*'"$arch"'*.build')
-    if [ -f "$buildlog" ] && grep -q 'E: Failed to fetch.*Hash Sum mismatch' "$buildlog"; then
+    if [ -f "$buildlog" ] && \
+        egrep -q 'E: Failed to fetch.*(Hash Sum mismatch|Writing more data than expected)' "$buildlog";
+    then
         # Avoid confusing hooks and the like
         rm "$buildlog"
         sbuild "${SBUILD_ARGS[@]}" "$dsc_file"

-- 
pkg-kde-jenkins packaging



More information about the pkg-kde-commits mailing list