aboutsummaryrefslogtreecommitdiffstats
path: root/autobuild/agl/autobuild.in
diff options
context:
space:
mode:
Diffstat (limited to 'autobuild/agl/autobuild.in')
-rwxr-xr-xautobuild/agl/autobuild.in4
1 files changed, 2 insertions, 2 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}