Fixed prefix with slash generates wrong sig
This commit is contained in:
@@ -37,7 +37,7 @@ if [ -z "$ARCH_S3_BUCKET_URL" ]; then
|
||||
fi
|
||||
|
||||
function _str { printf "%s" $@; }
|
||||
function _stre { printf $@; }
|
||||
function _stre { printf $( echo -n "$@" | sed "s/%/%%/g" ); }
|
||||
|
||||
BUCKET_NAME=$( _str $ARCH_S3_BUCKET_URL | cut -d'.' -f1 )
|
||||
SERVICE=$( _str $ARCH_S3_BUCKET_URL | cut -d'.' -f2 )
|
||||
|
Reference in New Issue
Block a user