From: Quirin Gylstorff <[email protected]> If a dtb exists it was not uploaded correctly.
Signed-off-by: Quirin Gylstorff <[email protected]> --- scripts/deploy_to_aws.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/deploy_to_aws.sh b/scripts/deploy_to_aws.sh index 814aec7..5a5b29a 100755 --- a/scripts/deploy_to_aws.sh +++ b/scripts/deploy_to_aws.sh @@ -40,7 +40,7 @@ fi image=$(ls "${images_dir}/${target}/${isar_base_name}".*.gz) aws s3 cp "${aws_args}" "${image}" "${deploy_dir}/$(basename "${image}")" # DTB -dtb="$(ls "${images_dir}/${target}/*.dtb" 2> /dev/null)" +dtb=$(ls "${images_dir}/${target}/"*.dtb 2> /dev/null || true ) if [ -n "${dtb}" ] ; then aws s3 cp "${aws_args}" "${dtb}" "${deploy_dir}/$(basename "${dtb}")" fi -- 2.20.1
