diff --git a/stdlib/aws/s3/s3.cue b/stdlib/aws/s3/s3.cue index 9555f419..5207066a 100644 --- a/stdlib/aws/s3/s3.cue +++ b/stdlib/aws/s3/s3.cue @@ -76,7 +76,7 @@ import ( opts="--content-type $CONTENT_TYPE" fi aws s3 $op $opts /source "$TARGET" - echo "$TARGET" \ + echo -n "$TARGET" \ | sed -E 's=^s3://([^/]*)/=https://\1.s3.amazonaws.com/=' \ > /url """#,