Commit 48a5d85e authored by Tim-Philipp Müller's avatar Tim-Philipp Müller 🐠

po.mak: download-po: some fixes

parent 140d073c
# rule to download the latest .po files
download-po: $(top_srcdir)/common/download-translations
$(top_srcdir)/common/download-translations $(PACKAGE)
for f in *.po; do \
num_changed=`git diff $f | grep -e '^[+-][^+-]' | wc -l`; \
num_date=`git diff $f | grep -e '^[+-][^+-]' | grep POT-Creation-Date | wc -l`; \
for f in po/*.po; do \
num_changed=`git diff $$f | grep -e '^[+-][^+-]' | wc -l`; \
num_date=`git diff $$f | grep -e '^[+-][^+-]' | grep POT-Creation-Date | wc -l`; \
if [ $num_date == $num_changed ]; then \
git checkout $f; \
git checkout $$f; \
fi; \
done
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment