[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] reproducible Debian: fixup 7a08f9df, only act if directory exists

Holger Levsen gitlab at salsa.debian.org
Tue Oct 16 13:28:34 BST 2018


Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net


Commits:
d026592c by Holger Levsen at 2018-10-16T12:28:20Z
reproducible Debian: fixup 7a08f9df, only act if directory exists

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.)
-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 {} \;
 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/d026592c74f9c6ab798dce06ded82ab8822a29c6

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/d026592c74f9c6ab798dce06ded82ab8822a29c6
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/20181016/04810c93/attachment-0001.html>


More information about the Qa-jenkins-scm mailing list