[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] reproducible Debian: dont fail if logfile vanishes during long running find command
Holger Levsen
gitlab at salsa.debian.org
Fri Oct 19 10:17:16 BST 2018
Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net
Commits:
9e06e4b5 by Holger Levsen at 2018-10-19T09:17:07Z
reproducible Debian: dont fail if logfile vanishes during long running find command
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
1 changed file:
- bin/reproducible_maintenance.sh
Changes:
=====================================
bin/reproducible_maintenance.sh
=====================================
@@ -577,7 +577,7 @@ fi
echo "$(date -u) - Checking for files with bad permissions."
# automatically fix rbuild files with wrong permissions...
# (we know it happens (very rarely) but... shrugs.)
-[ ! -d $DEBIAN_BASE/rbuild ] || find $DEBIAN_BASE/rbuild ! -perm 644 -type f -exec chmod -v 644 {} \;
+[ ! -d $DEBIAN_BASE/rbuild ] || find $DEBIAN_BASE/rbuild ! -perm 644 -type f -exec chmod -v 644 {} \; 2>/dev/null|| true
BADPERMS=$(find $DEBIAN_BASE/{buildinfo,dbd,artifacts,stretch,buster,unstable,experimental,rb-pkg} ! -perm 644 -type f 2>/dev/null|| true)
if [ ! -z "$BADPERMS" ] ; then
DIRTY=true
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/9e06e4b5d5dce5a0977e6ed2eaa583c0ebb12eb7
--
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/9e06e4b5d5dce5a0977e6ed2eaa583c0ebb12eb7
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/qa-jenkins-scm/attachments/20181019/194bd3bf/attachment-0001.html>
More information about the Qa-jenkins-scm
mailing list