[SCM] pkg-kde-jenkins packaging branch, master, updated. 2b3a7af147c50274fbd109d636bc692083044649
Maximiliano Curia
maxy at moszumanska.debian.org
Tue Nov 1 15:49:21 UTC 2016
Gitweb-URL: http://git.debian.org/?p=pkg-kde/pkg-kde-jenkins.git;a=commitdiff;h=c968ffb
The following commit has been merged in the master branch:
commit c968ffba93ea1283209f2f61e89beb902b07cd49
Author: Maximiliano Curia <maxy at gnuservers.com.ar>
Date: Sat Jun 18 18:41:38 2016 +0200
build_build: sbuild doesn't generate if the chroot generation failed
---
scripts/build_build.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/build_build.sh b/scripts/build_build.sh
index 450bf3d..bfbfd38 100755
--- a/scripts/build_build.sh
+++ b/scripts/build_build.sh
@@ -118,7 +118,7 @@ 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 grep -q 'E: Failed to fetch.*Hash Sum mismatch' "$buildlog"; then
+ if [ -f "$buildlog" ] && grep -q 'E: Failed to fetch.*Hash Sum mismatch' "$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