Fix awscli upload

This commit is contained in:
Arnie 2018-01-09 17:43:50 +01:00
parent 9c0461efe6
commit 4c8162b17b

View File

@ -96,10 +96,10 @@ upload() {
__msg "Cache expires on ${EXPIRES}"
if [[ -f ${target} ]]; then
if [[ -f ${source} ]]; then
# File
local dirName=$(dirname ${target})
local filename=$(basename ${target})
local dirName=$(dirname ${source})
local filename=$(basename ${source})
docker run --rm \
-u $(id -u):$(id -g) \
--env AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID} \