From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 52961 invoked by alias); 12 Jan 2017 13:59:48 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Received: (qmail 52874 invoked by uid 89); 12 Jan 2017 13:59:47 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_PASS,URIBL_RED autolearn=ham version=3.3.2 spammy=preferably, H*MI:sk:1484214, H*i:sk:1484214, H*f:sk:1484214 X-Spam-User: qpsmtpd, 2 recipients X-HELO: relay1.mentorg.com Date: Thu, 12 Jan 2017 13:59:00 -0000 From: Joseph Myers To: Siddhesh Poyarekar CC: Subject: Re: [PATCH] Add target to incorporate translations from translations.org In-Reply-To: <1484214417-15443-1-git-send-email-siddhesh@sourceware.org> Message-ID: References: <1484214417-15443-1-git-send-email-siddhesh@sourceware.org> User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" X-ClientProxiedBy: svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) To svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) X-SW-Source: 2017-01/txt/msg00249.txt.bz2 On Thu, 12 Jan 2017, Siddhesh Poyarekar wrote: > +# Update translations from the translation project. > +TRANSLATIONS_URL = http://translationproject.org/latest/libc Should preferably use https. > +WGET = wget > + > +update-translations: > + WGET -qO- $(TRANSLATIONS_URL) | sed -n 's|.*href="\([^"]\+po\)".*|\1|p' | \ > + while read f; do \ > + WGET -O $(objdir)/$$f-tmp $(TRANSLATIONS_URL)/$$f && \ Does this actually work? I'd expect you to need to use $(WGET) not plain WGET. -- Joseph S. Myers joseph@codesourcery.com