diff options
Diffstat (limited to 'autobuild')
-rwxr-xr-x | autobuild/agl/autobuild.in | 4 | ||||
-rwxr-xr-x | autobuild/linux/autobuild.in | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/autobuild/agl/autobuild.in b/autobuild/agl/autobuild.in index dc3bdec..31e29f7 100755 --- a/autobuild/agl/autobuild.in +++ b/autobuild/agl/autobuild.in @@ -38,9 +38,9 @@ package: build @mkdir -p ${BUILD_DIR}/$@/lib @mkdir -p ${BUILD_DIR}/$@/htdocs @mkdir -p ${BUILD_DIR}/$@/data - @mkdir -p ${DEST} + @[ "${DEST}" ] && mkdir -p ${DEST} @cmake --build ${BUILD_DIR} --target widget - @cp ${BUILD_DIR}/*wgt ${DEST} + @[ "${DEST}" ] && cp ${BUILD_DIR}/*wgt ${DEST} ${BUILD_DIR}/Makefile: @[ -d ${BUILD_DIR} ] || mkdir -p ${BUILD_DIR} diff --git a/autobuild/linux/autobuild.in b/autobuild/linux/autobuild.in index 85b0323..17fae7a 100755 --- a/autobuild/linux/autobuild.in +++ b/autobuild/linux/autobuild.in @@ -38,7 +38,7 @@ package: build @mkdir -p ${BUILD_DIR}/$@/lib @mkdir -p ${BUILD_DIR}/$@/htdocs @mkdir -p ${BUILD_DIR}/$@/data - @mkdir -p ${DEST} + @[ "${DEST}" ] && mkdir -p ${DEST} @cmake --build ${BUILD_DIR} --target packaging ${BUILD_DIR}/Makefile: |