diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2017-06-29 10:48:47 +0200 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2018-10-15 18:22:47 +0200 |
commit | 4b5bb2eac863a7b90abc4d3a38f52e121be2d667 (patch) | |
tree | 78e8506ccb29d5397ea2bf2c4553252ed4e38baf /autobuild/linux | |
parent | f4d9f6bb499e6da3303b05556cc0a5846fe74d7d (diff) |
Fix: handling DEST env var in autobuild scripts
Change-Id: Idf24c1adf12698d4b5ac7950e3d3c2e25b1c3274
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'autobuild/linux')
-rwxr-xr-x | autobuild/linux/autobuild.in | 2 |
1 files changed, 1 insertions, 1 deletions
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: |