This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository buildscripts. commit 706dd4cbb7f01f5fda7e09e78b69d49f3ba418bb Author: Mihai Moldovan <ionic@ionic.de> Date: Tue Mar 24 05:21:26 2015 +0100 bin/build-rpm-package: the semantics of MOCK_VER being set/unset changed in my head while writing code, but the spelled out check didn't... --- bin/build-rpm-package | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/build-rpm-package b/bin/build-rpm-package index afc8f4e..d33274d 100755 --- a/bin/build-rpm-package +++ b/bin/build-rpm-package @@ -133,7 +133,7 @@ check_mock_version_atleast () { # Only accept a string that has number.number.number somewhere. MOCK_VER="$(grep -Eo '[0-9]+\.[0-9]+\.[0-9]+' <<< "${MOCK_VER}")" - if [ -n "${MOCK_VER}" ]; then + if [ -z "${MOCK_VER}" ]; then echo "Error: the reported mock version can not be handled by ${FUNCNAME}()." >&2 exit -1 fi -- Alioth's /srv/git/code.x2go.org/buildscripts.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/buildscripts.git