[X2Go-Commits] [buildscripts] 02/02: bin/build-rpm-package: fix parse error.
git-admin at x2go.org
git-admin at x2go.org
Thu Apr 2 01:42:29 CEST 2015
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch master
in repository buildscripts.
commit 56b8bee5a2101bb43edbacf7c0b081509d2e638e
Author: Mihai Moldovan <ionic at ionic.de>
Date: Thu Apr 2 01:42:16 2015 +0200
bin/build-rpm-package: fix parse error.
---
bin/build-rpm-package | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/bin/build-rpm-package b/bin/build-rpm-package
index 9262d40..1bb548d 100755
--- a/bin/build-rpm-package
+++ b/bin/build-rpm-package
@@ -883,7 +883,12 @@ set_vars "$@" && {
if [ "x$(basename $0)" = "x${PREFIX}-build-rpm-package" ] || [ "x$(basename $0)" = "x${PREFIX}-build+upload-rpm-package" ]; then
FORCE_BUILD="$(make_boolean "${FORCE_BUILD}")"
NO_DELAY="$(make_boolean "${NO_DELAY}")"
- cd ${PROJECT_DIR} && { pkgneedsbuild ${CHECKOUT} || [ "${FORCE_BUILD}" -eq "1" ] } && {
+
+ # This indentation may look weird, but is actually needed because bash expects either a semicolon or a newline
+ # between (the last) command and a closing curly brace.
+ cd "${PROJECT_DIR}" && {
+ pkgneedsbuild "${CHECKOUT}" || [ "${FORCE_BUILD}" -eq "1" ]
+ } && {
if [ "${FORCE_BUILD}" -eq "1" ] && [ "${NO_DELAY}" -eq "0" ]; then
delay_build
fi
--
Alioth's /srv/git/code.x2go.org/buildscripts.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/buildscripts.git
More information about the x2go-commits
mailing list