support/download: print command used for download
authorThomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Fri, 15 Jan 2021 15:00:46 +0000 (16:00 +0100)
committerYann E. MORIN <yann.morin.1998@free.fr>
Tue, 16 Mar 2021 22:26:12 +0000 (23:26 +0100)
commit54d3d94b6e3846447b5796ef8587b08b537cd348
treea6c8722b77df375b7e563100ca041bbc0974a4e9
parent3300788ce072cd8ca582f9ceb127451bff3f767b
support/download: print command used for download

Even though that most download commands actually print some output, like
progress indication or other messages, the actual command used is not. This
makes it hard to analyze a build log when you are not fully familiar with
the typical output of said log.

Update the download helpers to do just that, respecting any quiet/verbose
flag so that a silent make (make -s) does not get more verbose.

Note: getting rid of the duplication of the command in the script is not
straightforward without breaking support for arguments with spaces.

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
[yann.morin.1998@free.fr: use printf, not echo]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
support/download/bzr
support/download/cvs
support/download/file
support/download/git
support/download/hg
support/download/scp
support/download/svn
support/download/wget