diff options
author | Raquel Medina <raquel.medina@konsulko.com> | 2019-02-20 02:19:32 +0200 |
---|---|---|
committer | Raquel Medina <raquel.medina@konsulko.com> | 2019-02-22 22:19:50 +0200 |
commit | c9a2819c8be755860956c95f46ea9f03427cd16b (patch) | |
tree | 533ee1c3a44d1c05edfee1e9240732b2971b7962 /autobuild/agl | |
parent | 7a98942f2275aef1a704d25f063cc14436ef4f15 (diff) |
autobuild: fix warnings due to cp command exit codeicefish_8.99.5icefish_8.99.4icefish_8.99.3icefish_8.99.2icefish_8.99.1icefish/8.99.5icefish/8.99.4icefish/8.99.3icefish/8.99.2icefish/8.99.1halibut_8.0.6halibut_8.0.5halibut_8.0.4halibut_8.0.3halibut_8.0.2halibut_8.0.1halibut_8.0.0halibut_7.99.3halibut_7.99.2halibut_7.99.1halibut/8.0.6halibut/8.0.5halibut/8.0.4halibut/8.0.3halibut/8.0.2halibut/8.0.1halibut/8.0.0halibut/7.99.3halibut/7.99.2halibut/7.99.18.99.58.99.48.99.38.99.28.99.18.0.68.0.58.0.48.0.38.0.28.0.18.0.07.99.37.99.27.99.1halibut
Bug-AGL: SPEC-2164
Change-Id: I98bee08c7af3c6bf4df1ee142968c2672fddd1e2
Signed-off-by: Raquel Medina <raquel.medina@konsulko.com>
Diffstat (limited to 'autobuild/agl')
-rwxr-xr-x | autobuild/agl/autobuild | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/autobuild/agl/autobuild b/autobuild/agl/autobuild index a832db4..db00c1a 100755 --- a/autobuild/agl/autobuild +++ b/autobuild/agl/autobuild @@ -59,7 +59,9 @@ package: build @mkdir -p ${BUILD_DIR}/$@/htdocs @mkdir -p ${BUILD_DIR}/$@/var @cmake --build ${BUILD_DIR} ${PACKAGE_ARGS} --target widget - @mkdir -p ${DEST} && cp ${BUILD_DIR}/*.wgt ${DEST} + @if [ "${DEST}" != "${BUILD_DIR}" ]; then \ + mkdir -p ${DEST} && cp ${BUILD_DIR}/*.wgt ${DEST}; \ + fi package-test: build @mkdir -p ${BUILD_DIR}/$@/bin @@ -69,7 +71,9 @@ package-test: build @mkdir -p ${BUILD_DIR}/$@/var @cmake --build ${BUILD_DIR} ${PACKAGE_ARGS} --target widget @cmake --build ${BUILD_DIR} ${PACKAGE_ARGS} --target test_widget - @mkdir -p ${DEST} && cp ${BUILD_DIR}/*.wgt ${DEST} + @if [ "${DEST}" != "${BUILD_DIR}" ]; then \ + mkdir -p ${DEST} && cp ${BUILD_DIR}/*.wgt ${DEST}; \ + fi install: build @cmake --build ${BUILD_DIR} ${INSTALL_ARGS} --target install |