summaryrefslogtreecommitdiff
path: root/post-build-create-image-manifest.sh
diff options
context:
space:
mode:
authorFathi Boudra <fathi.boudra@linaro.org>2013-09-06 09:31:17 +0300
committerFathi Boudra <fathi.boudra@linaro.org>2013-09-06 09:31:17 +0300
commit10e5e84d9df23630236fb1bf4d69dad86c2d9d6d (patch)
treef48a5e6cfe26aa8408a8a308e45316b493d2f33f /post-build-create-image-manifest.sh
parent5a7c817201341f5a6fb29218656fe5b66d464d11 (diff)
post-build-create-image-manifest: limit find to maxdepth 2
Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Diffstat (limited to 'post-build-create-image-manifest.sh')
-rw-r--r--post-build-create-image-manifest.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/post-build-create-image-manifest.sh b/post-build-create-image-manifest.sh
index bd63f06..8bd8cbb 100644
--- a/post-build-create-image-manifest.sh
+++ b/post-build-create-image-manifest.sh
@@ -3,7 +3,7 @@
if [ -n "${WORKSPACE}" ]; then
test -d ${WORKSPACE}/out || mkdir -p ${WORKSPACE}/out
rm -rf ${WORKSPACE}/out/*
- deploy_dir=`find build -type d -name deploy`
+ deploy_dir=`find build -maxdepth 2 -type d -name deploy`
if [ ! -d $deploy_dir/images ]; then
deploy_dir=`find /mnt/ci_build/workspace/tmp -type d -name deploy`
fi