This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository buildscripts. commit 7a992b32bef068f119ceeb09aaf1a8b81d5dfef2 Author: Mihai Moldovan <ionic@ionic.de> Date: Wed Apr 1 07:22:30 2015 +0200 bin/build-rpm-package: base mock config base shall better be readable, OR ELSE! --- bin/build-rpm-package | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/build-rpm-package b/bin/build-rpm-package index de2e02d..3f4dd27 100755 --- a/bin/build-rpm-package +++ b/bin/build-rpm-package @@ -257,9 +257,9 @@ create_mock_config () { # MOCK_BASE CUSTOM_REPO COMPONENT TARGET exit -1 } - # Must exist. - if [ ! -f "/etc/mock/${!i}" ]; then - echo "Error: ${i} parameter must exist and be a regular file." >&2 + # Must exist and be readable. + if [ ! -f "/etc/mock/${!i}" ] || [ ! -r "/etc/mock/${!i}" ]; then + echo "Error: ${i} parameter must exist, be a regular file and readable." >&2 exit -1 fi done -- Alioth's /srv/git/code.x2go.org/buildscripts.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/buildscripts.git