some weird space

This commit is contained in:
cronekorkn 2023-05-05 18:25:21 +02:00
parent 226b152fa0
commit e8a5379ccd
Signed by: cronekorkn
SSH key fingerprint: SHA256:v0410ZKfuO1QHdgKBsdQNF64xmTxOF8osF1LIqwTcVw

2
.envrc
View file

@ -18,7 +18,7 @@ export BW_GIT_DEPLOY_CACHE=".cache/bw/git_deploy"
CREATED_AT=$(stat -f "%Sa" "$BW_GIT_DEPLOY_CACHE" | xargs -I{} date -f '%b %d %H:%M:%S %Y' -j "{}" '+%s')
NOW_AT=$(date +%s)
SECONDS_SINCE=$(expr "$NOW_AT" - "$CREATED_AT")
if [[ "$SECONDS_SINCE" > 86400 ]]
if [[ "$SECONDS_SINCE" > 86400 ]]
then
rm -rf "$BW_GIT_DEPLOY_CACHE"
fi