diff options
author | Jan-Simon Möller <jsmoeller@linuxfoundation.org> | 2017-07-19 14:54:20 +0200 |
---|---|---|
committer | Jan-Simon Möller <jsmoeller@linuxfoundation.org> | 2017-07-19 14:54:20 +0200 |
commit | 54c231924d4127a7a682bf9732f7ebb4a93da01b (patch) | |
tree | d251f18595e704be81363b3d81ebc846472e4732 | |
parent | c9e921cc2e80d3547f53d70011b1b0a61472e3e3 (diff) |
Enhance autobuild detection
Change-Id: I256844ae5bc73ed5e1bf350f6fa411b75728f705
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
-rw-r--r-- | jjb/common/include-apps-build-app.sh | 14 |
1 files 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 |