Blame common/po.mak

Packit Service 963350
# rule to download the latest .po files
Packit Service 963350
download-po: $(top_srcdir)/common/download-translations
Packit Service 963350
	$(top_srcdir)/common/download-translations $(PACKAGE)
Packit Service 963350
	for f in po/*.po; do \
Packit Service 963350
	  num_changed=`git diff $$f | grep -e '^[+-][^+-]' | wc -l`; \
Packit Service 963350
	  num_date=`git diff $$f | grep -e '^[+-][^+-]' | grep POT-Creation-Date | wc -l`; \
Packit Service 963350
	  if [ $num_date == $num_changed ]; then \
Packit Service 963350
	    git checkout $$f; \
Packit Service 963350
	  fi; \
Packit Service 963350
	done
Packit Service 963350