Fix spacing

This commit is contained in:
Joel Bradshaw 2021-12-16 23:44:47 -08:00
parent 37a7899f6f
commit faffbdce21

4
bw-dev
View file

@ -155,13 +155,13 @@ case "$CMD" in
--acl public-read" "$@" --acl public-read" "$@"
;; ;;
set_cors_to_s3) set_cors_to_s3)
set +x set +x
config_file=$1 config_file=$1
if [ -z "$config_file" ]; then if [ -z "$config_file" ]; then
echo "This command requires a JSON file containing a CORS configuration as an argument" echo "This command requires a JSON file containing a CORS configuration as an argument"
exit 1 exit 1
fi fi
set -x set -x
awscommand "$(pwd):/bw"\ awscommand "$(pwd):/bw"\
"s3api put-bucket-cors\ "s3api put-bucket-cors\
--bucket ${AWS_STORAGE_BUCKET_NAME}\ --bucket ${AWS_STORAGE_BUCKET_NAME}\