From ef2b0425e76888e862796a2f38f885a1371b0724 Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Sat, 17 Sep 2011 01:45:09 +0000 Subject: Avoid certificate checks when getting PO files from translationproject.org --- maintMakefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'maintMakefile') diff --git a/maintMakefile b/maintMakefile index 11a76af..acdf58e 100644 --- a/maintMakefile +++ b/maintMakefile @@ -138,6 +138,8 @@ move_if_change = if test -r $(target) && cmp -s $(target).t $(target); then \ # http://translation.sf.net/maint/ # ftp://tiger.informatik.hu-berlin.de/pub/po/maint/ +po_wget_flags = --recursive --level=1 --no-directories --no-parent \ + --no-check-certificate po_repo = http://translationproject.org/latest/$(PACKAGE) .PHONY: do-po-update po-update do-po-update: @@ -145,7 +147,7 @@ do-po-update: && rm -rf "$$tmppo" \ && mkdir "$$tmppo" \ && (cd "$$tmppo" \ - && $(WGET) -r -l1 -nd --no-parent -A '*.po' $(po_repo)) \ + && $(WGET) $(po_wget_flags) -A '*.po' $(po_repo)) \ && cp "$$tmppo"/*.po $(top_srcdir)/po && rm -rf "$$tmppo" cd po && $(MAKE) update-po $(MAKE) po-check -- cgit v1.2.3