diff options
author | 2018-06-27 19:56:31 +0200 | |
---|---|---|
committer | 2018-06-28 00:31:57 +0200 | |
commit | 7380dd1f2b7163c6a8299920f7441c2d07c7aa51 (patch) | |
tree | 4c218d75ff6471c9dfc21f220e8e4aaf8eaa9dbe /jjb/common/include-apps-prepare-upload-folder-merged.sh | |
parent | 3b90c745ea2894b655ca96aafa2f464347dbef9e (diff) |
In case of cmake enforce an out-of-tree build
This fixes a build error with newer app templates if no autobuild script is found.
Change-Id: Iad3ea26ddd8cd3f680f8788cd08b8d2a374e8dc5
Bug-AGL: SPEC-1534
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'jjb/common/include-apps-prepare-upload-folder-merged.sh')
-rw-r--r-- | jjb/common/include-apps-prepare-upload-folder-merged.sh | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/jjb/common/include-apps-prepare-upload-folder-merged.sh b/jjb/common/include-apps-prepare-upload-folder-merged.sh index 222e921c..ced33d28 100644 --- a/jjb/common/include-apps-prepare-upload-folder-merged.sh +++ b/jjb/common/include-apps-prepare-upload-folder-merged.sh @@ -42,9 +42,15 @@ export DEST=$(pwd)/UPLOAD/${PROJECTPATTERN} # copy the wgt to the upload folder pushd ${MYPROJECT} - pwd - ls -alh || true +pwd +if test -d build/package ; then + # use cmake build/package folder for wgt's ... + ls build/package/ || true + cp build/package/*.wgt $DEST +else + # use just ./package/ for wgt's ls package || true cp package/*.wgt $DEST - ls -alh $DEST +fi popd + |