summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorMihai Moldovan <ionic@ionic.de>2015-01-29 04:12:25 +0100
committerMihai Moldovan <ionic@ionic.de>2015-01-29 04:12:25 +0100
commit4785a98e9996c30d29f7db9f5503742824bed782 (patch)
tree3ee7fe33243dba0c407a9377cb8ee9aee2c2aeae /bin
parente1e4795e4e1277fd28ecb33be763b148a9a6df64 (diff)
downloadbuildscripts-4785a98e9996c30d29f7db9f5503742824bed782.tar.gz
buildscripts-4785a98e9996c30d29f7db9f5503742824bed782.tar.bz2
buildscripts-4785a98e9996c30d29f7db9f5503742824bed782.zip
bin/build-rpm-package: fix error in NO_DELAY logic.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/build-rpm-package2
1 files changed, 1 insertions, 1 deletions
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