[X2Go-Commits] [buildscripts] 02/03: bin/build-rpm-package: fix error in NO_DELAY logic.

git-admin at x2go.org git-admin at x2go.org
Thu Jan 29 04:15:07 CET 2015


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch master
in repository buildscripts.

commit 4785a98e9996c30d29f7db9f5503742824bed782
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Thu Jan 29 04:12:25 2015 +0100

    bin/build-rpm-package: fix error in NO_DELAY logic.
---
 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 0680e4e..e0b514e 100755
--- a/bin/build-rpm-package
+++ b/bin/build-rpm-package
@@ -455,7 +455,7 @@ set_vars $@ && {
 	if [ "x$(basename $0)" = "x$PREFIX-build-rpm-package" ] || [ "x$(basename $0)" = "x$PREFIX-build+upload-rpm-package" ]; then
 								# Treat any value other than "no" and "0" as true.
 		cd $PROJECT_DIR && pkgneedsbuild $CHECKOUT || ( [ "x$FORCE_BUILD" != "xno" ] && [ "x$FORCE_BUILD" != "x0" ] ) && {
-			if [ "x$FORCE_BUILD" != "xno" ] && [ "x$FORCE_BUILD" != "x0" ] && ( [ "x$NO_DELAY" = "xno" ] || [ "x$NO_DELAY" = "x0" ] ); then
+			if [ "x$FORCE_BUILD" != "xno" ] && [ "x$FORCE_BUILD" != "x0" ] && [ "x$NO_DELAY" != "xno" ] && [ "x$NO_DELAY" != "x0" ]; then
 				delay_build
 			fi
 			lock_workspace

--
Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/buildscripts.git


More information about the x2go-commits mailing list