Corrects cut of s3 protocol.
This commit is contained in:
parent
418ab79b11
commit
25d63bb99f
1 changed files with 1 additions and 1 deletions
|
|
@ -639,7 +639,7 @@ get_remote_file_size()
|
||||||
"s3")
|
"s3")
|
||||||
FRIENDLY_TYPE_NAME="Amazon S3"
|
FRIENDLY_TYPE_NAME="Amazon S3"
|
||||||
if ${S3CMD_AVAIL} ; then
|
if ${S3CMD_AVAIL} ; then
|
||||||
TMPDEST=$(echo "${DEST}" | cut -c 11-)
|
TMPDEST=$(echo "${DEST}" | cut -f 3- -d /)
|
||||||
dest_scheme=$(echo "${DEST}" | cut -f -1 -d :)
|
dest_scheme=$(echo "${DEST}" | cut -f -1 -d :)
|
||||||
if [ "$dest_scheme" = "s3" ]; then
|
if [ "$dest_scheme" = "s3" ]; then
|
||||||
# Strip off the host name, too.
|
# Strip off the host name, too.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue