The following commit has been merged in the master branch:
commit be9da7d2964d2d14ab4ef42a1900617befb06005
Author: Frank Lichtenheld <[EMAIL PROTECTED]>
Date: Mon Jun 16 20:47:27 2008 +0200
update_po: Do not update .pot files if only line numbers got updated
In my experience this causes a lot of noise for little gain.
diff --git a/cron.d/500update_po b/cron.d/500update_po
index 754951d..9950b8a 100755
--- a/cron.d/500update_po
+++ b/cron.d/500update_po
@@ -79,7 +79,7 @@ done
for domain in ${podomains}
do
perl -p -i -e "s,^#:\s*\Q${topdir}\E,#: .,go" ${domain}.pot.new
- if [ ! -f ${domain}.pot.new ] || diff -I"POT-Creation-Date" -q
${domain}.pot.new ${domain}.pot >/dev/null 2>&1
+ if [ ! -f ${domain}.pot.new ] || diff -I"POT-Creation-Date" -I"^#: " -q
${domain}.pot.new ${domain}.pot >/dev/null 2>&1
then
echo "${domain}.pot unchanged"
rm ${domain}.pot.new
--
APT Archive Web-Frontend (Alioth repository)
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]