From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Korsgaard Date: Mon, 05 Mar 2012 20:57:15 +0100 Subject: [Buildroot] [PATCH 1/1] package: fix WGET download method In-Reply-To: (Thomas Petazzoni's message of "Mon, 5 Mar 2012 11:06:23 +0100") References: Message-ID: <87booaizxg.fsf@macbook.be.48ers.dk> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net >>>>> "Thomas" == Thomas Petazzoni writes: Thomas> In cf2486bf317e4bbf88c801fb96183ba62be78cc8, we changed from using the Thomas> -P option of wget (to set the output *directory*) to using the -O Thomas> option (to set the output *file*). Unfortunately, wget -O has a Thomas> strange behaviour: it creates an empty 0-byte file even if the Thomas> download fails (for example when there is no network connection). Committed, thanks. -- Bye, Peter Korsgaard