Commit df3da6f9 authored by Erick Hitter's avatar Erick Hitter

Merge branch 'fix/path' into 'master'

Fix dependency path

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