Commit 37044d32 authored by David Dollar's avatar David Dollar

fix s3 listing

parent 33af4beb
...@@ -125,6 +125,7 @@ s3_curl() { ...@@ -125,6 +125,7 @@ s3_curl() {
[[ $CURL_S3_DEBUG == true ]] && stdopts="${stdopts} --show-error --fail" [[ $CURL_S3_DEBUG == true ]] && stdopts="${stdopts} --show-error --fail"
case "${1}" in case "${1}" in
GET) arg="-o" inout="${4:--}" # stdout if no $4 GET) arg="-o" inout="${4:--}" # stdout if no $4
headers[${#headers[@]}]="x-amz-acl: public-read"
;; ;;
PUT) [[ ${2} ]] || die "PUT can has bucket?" PUT) [[ ${2} ]] || die "PUT can has bucket?"
if [[ ! ${3} ]]; then if [[ ! ${3} ]]; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment