bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] gnulib-tool: Fallback to wget when rsync fails


From: Bernhard Voelker
Subject: Re: [PATCH] gnulib-tool: Fallback to wget when rsync fails
Date: Tue, 02 Sep 2014 17:26:10 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.7.0

On 09/02/2014 05:17 PM, Ben Pfaff wrote:
On Tue, Sep 02, 2014 at 05:15:16PM +0200, Bernhard Voelker wrote:
On 09/02/2014 05:06 PM, Ben Pfaff wrote:
Looking at wget(1), I'm a little surprised that the selected options
appear to avoid clobbering files whose names conflict.  I would have
expected that we'd want to overwrite them, to get the fresher version.
But the existing wget invocation does the same thing, so maybe it's
intentional?

clobbering is implicitly disabled with the -nd option:

   -nd
        --no-directories
            Do not create a hierarchy of directories when retrieving
            recursively.  With this option turned on, all files will
            get saved to the current directory, without clobbering (if
            a name shows up more than once, the filenames will get
            extensions .n).

Yes.  As I said, I'm a little surprised that the selected options appear
to avoid clobbering files whose names conflict.

Interestingly, the build-aux/bootstrap script uses slightly different
wget(1) options [0]:

  po_download_command_format2=\
  "wget --mirror -nd -q -np -A.po -P '%s' \
   http://translationproject.org/latest/%s/";

[0]
http://git.sv.gnu.org/cgit/gnulib.git/tree/build-aux/bootstrap?id=157c42eff7#n129

Have a nice day,
Berny



reply via email to

[Prev in Thread] Current Thread [Next in Thread]