diff options
Diffstat (limited to 'post-build-create-image-manifest.sh')
-rw-r--r-- | post-build-create-image-manifest.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/post-build-create-image-manifest.sh b/post-build-create-image-manifest.sh index 8bd8cbb..50452cd 100644 --- a/post-build-create-image-manifest.sh +++ b/post-build-create-image-manifest.sh @@ -8,10 +8,10 @@ if [ -n "${WORKSPACE}" ]; then deploy_dir=`find /mnt/ci_build/workspace/tmp -type d -name deploy` fi cd ${deploy_dir}/images - for img in *.rootfs.tar.gz + for img in *.rootfs.*.gz do if ! [ -h $img ] ; then - img=`basename $img .rootfs.tar.gz` + img=`echo $img | cut -d'.' -f1` cp -a ../licenses/$img/license.manifest $img.manifest mv $img.* ${WORKSPACE}/out fi |