Escape + since it is a regex special char

This commit is contained in:
HackerNCoder 2023-02-11 21:50:05 +01:00
parent e5e03cd887
commit 267a1fd339

View file

@ -23,7 +23,7 @@ for file in ./translations-*.po; do
continue continue
fi 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" echo -e "\x1B[36mSKIPPING $file since it hasn't been changed since last CI\x1B[0m"
continue continue
fi fi