From 8001bf401b1685145aa4a527d1b6e4c865d449c3 Mon Sep 17 00:00:00 2001 From: HackerNCoder Date: Sat, 11 Feb 2023 02:58:30 +0100 Subject: [PATCH] Put +%s outside of awk and compare with FINISHED --- .po2tl.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.po2tl.sh b/.po2tl.sh index 48864af..e1b5543 100755 --- a/.po2tl.sh +++ b/.po2tl.sh @@ -20,7 +20,7 @@ for file in ./translations-*.po; do continue 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 fi