Put +%s outside of awk and compare with FINISHED

This commit is contained in:
HackerNCoder 2023-02-11 02:58:30 +01:00
parent 9d98761ad9
commit 8001bf401b

View file

@ -20,7 +20,7 @@ for file in ./translations-*.po; do
continue continue
fi fi
if (( $(date -d $(awk '/PO-Revision-Date/{print $2}' ${file} +%s)) < $CI_PREV_BUILD_CREATED )); then if (( $(date -d $(awk '/PO-Revision-Date/{print $2}' ${file}) +%s) < $CI_PREV_BUILD_FINISHED )); then
continue continue
fi fi