Closed thelinguist closed 1 year ago
Thank you for your feedback. We've added this issue to our backlog for this solution and it will be fixed in the next release.
We have fixed in our latest release. Let us know if you have other questions. Thanks.
https://github.com/aws-solutions/video-on-demand-on-aws/releases/tag/v6.1.4
Describe the bug When I run the build-s3-dist.sh script and I am executing the script in a directory whose parents have whitespace in the name, the script does not save the zip files in the expected directory format.
The issue is that the variables in the bash script are not properly checked for whitespace. This is at least the case for MacOS users using zsh or similar (default terminal).
Currently, I am seeing this output:
To Reproduce
mkdir AWS\ Template
cd AWS\ Template && git clone git@github.com:aws-solutions/video-on-demand-on-aws.git
cd video-on-demand-on-aws/deployment && ./build-s3-dist.sh solutions trademarked-solution-name v1.0.0
Expected behavior The script should not fail, even when the directory tree contains nodes with whitespaces. The
regional-s3-assets
folder should be created inside the repo root.Please complete the following information about the solution:
Screenshots If applicable, add screenshots to help explain your problem (please DO NOT include sensitive information).
Additional context Add any other context about the problem here.