From 54c231924d4127a7a682bf9732f7ebb4a93da01b Mon Sep 17 00:00:00 2001 From: Jan-Simon Möller Date: Wed, 19 Jul 2017 14:54:20 +0200 Subject: Enhance autobuild detection MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I256844ae5bc73ed5e1bf350f6fa411b75728f705 Signed-off-by: Jan-Simon Möller --- jjb/common/include-apps-build-app.sh | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/jjb/common/include-apps-build-app.sh b/jjb/common/include-apps-build-app.sh index 68ccc6a5..694dcf7d 100644 --- a/jjb/common/include-apps-build-app.sh +++ b/jjb/common/include-apps-build-app.sh @@ -67,22 +67,22 @@ if [[ ! x"yes" = x"$HANDLED" ]] && $(echo "$TARGETPROJECT" | grep -q "apps/"); t # Fixme: use aglbuild script set -x - export DONE=false - if test ! $DONE -a -f conf.d/autobuild/agl/autobuild ; then + export DONE=0 + if test x"0" = x"$DONE" -a -f conf.d/autobuild/agl/autobuild ; then mkdir -p $(pwd)/package/ conf.d/autobuild/agl/autobuild package DEST=$(pwd)/package/ - export DONE=true + export DONE=1 fi - if test ! $DONE -a -f Makefile ; then + if test x"0" = x"$DONE" -a -f Makefile ; then make make package - export DONE=true + export DONE=1 fi - if test ! $DONE -a -f ${MYPROJECT}.pro; then + if test x"0" = x"$DONE" -a -f ${MYPROJECT}.pro; then qmake make make package - export DONE=true + export DONE=1 fi popd -- cgit 1.2.3-korg