Allow s3 uploads for files without content encoding
For files with no content-encoding, the `aws s3 cp` command was called
with a trailing space, which resulted in the following less-than-
ideal error being thrown: "`Unknown options:`
@@ -58,8 +58,8 @@ content-type() {
content-encoding() {
case "$1" in
- *.gz) echo --content-encoding=gzip;;
- *.xz) echo --content-encoding=xz;;
+ *.gz) echo " --content-encoding=gzip";;
+ *.xz) echo " --content-encoding=xz";;
esac
}
