From: Jan Kiszka <jan.kis...@siemens.com>

Duplicate slashes cause no harm, but a missing can lead to confusing
errors.

Signed-off-by: Jan Kiszka <jan.kis...@siemens.com>
---

Inserted before "ci: Add default for S3_BUCKET_URL" which didn't add a 
slash, thus triggered this issue.

 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 5a5b29a..9864cc1 100755
--- a/scripts/deploy_to_aws.sh
+++ b/scripts/deploy_to_aws.sh
@@ -28,7 +28,7 @@ destination="${S3_BUCKET_URL}"
 aws_args="--acl=public-read"
 
 isar_base_name="${ISAR_IMAGE}-${ISAR_DISTRIBUTION}-${target}"
-deploy_dir="${destination}${CI_PIPELINE_ID}/${DEPLOY_DIR_EXTENSION}"
+deploy_dir="${destination}/${CI_PIPELINE_ID}/${DEPLOY_DIR_EXTENSION}"
 #KERNEL
 aws s3 cp "${aws_args}" "${images_dir}/${target}/${isar_base_name}-vmlinuz" 
"${deploy_dir}/${isar_base_name}-vmlinuz"
 # INITRD
-- 
2.31.1

Reply via email to