Commit e19c5a11 authored by Erick Hitter's avatar Erick Hitter

Fix dependency path

parent dfa1a71e
Pipeline #2000 passed with stages
in 2 minutes and 20 seconds
......@@ -9,7 +9,7 @@ export EXPIRE_AGE_DAYS
echo '======'
date
s3cmd --config=/s3_config ls s3://"${BUCKET_NAME}" | while read -r LINE;
/usr/local/bin/s3cmd --config=/s3_config ls s3://"${BUCKET_NAME}" | while read -r LINE;
do
CREATE_DATE=$(echo "$LINE" | awk '{print $1" "$2}')
CREATE_DATE=$(date -d"$CREATE_DATE" +%s)
......@@ -21,7 +21,7 @@ s3cmd --config=/s3_config ls s3://"${BUCKET_NAME}" | while read -r LINE;
echo "$FILE_NAME"
if [[ $FILE_NAME != "" ]]
then
s3cmd --config=/s3_config del "$FILE_NAME"
/usr/local/bin/s3cmd --config=/s3_config del "$FILE_NAME"
fi
fi
done;
......
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