diff --git a/.po2tl.sh b/.po2tl.sh index 776e3b4..60651b8 100755 --- a/.po2tl.sh +++ b/.po2tl.sh @@ -23,7 +23,7 @@ for file in ./translations-*.po; do continue fi - if (( $(date -d $(awk '/PO-Revision-Date/{sub(/+.*/,""); print $2"T"$3}' ${file}) +%s) < $CI_PREV_BUILD_STARTED )); then + if (( $(date -d $(awk '/PO-Revision-Date/{ sub(/\+.*/,""); print $2"T"$3}' ${file}) +%s) < $CI_PREV_BUILD_STARTED )); then echo -e "\x1B[36mSKIPPING $file since it hasn't been changed since last CI\x1B[0m" continue fi