build-docker-images: ignore empty image lists
The script used to archive empty image lists under some conditions. Avoid that. Signed-off-by: Davlet Panech <davlet.panech@windriver.com> Change-Id: I7c8670ab8cb074f040aa0c8e815c012855ccb57e
This commit is contained in:
parent
135e323b4d
commit
9c9ae56d9f
|
@ -149,4 +149,4 @@ if [[ $failed -eq 1 ]] ; then
|
|||
fi
|
||||
|
||||
notice "all images built successfully"
|
||||
find "$lists_dir" -mindepth 1 -maxdepth 1 -name "images-*.lst"
|
||||
find "$lists_dir" -mindepth 1 -maxdepth 1 -name "images-*.lst" -type f -not -empty
|
||||
|
|
Loading…
Reference in New Issue