Mercurial > octave
changeset 31195:776446acdc7b
pkg.m: Show URL of source tarball(s) in verbose mode.
* scripts/pkg/pkg.m: If downloading source tarballs with the "-forge" option,
show the URL where they are downloaded from if verbose mode is on.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Fri, 19 Aug 2022 08:54:05 +0200 |
parents | e859837e620d |
children | 8d4c87e88d0e |
files | scripts/pkg/pkg.m |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/pkg/pkg.m Thu Aug 18 08:41:39 2022 +0200 +++ b/scripts/pkg/pkg.m Fri Aug 19 08:54:05 2022 +0200 @@ -534,6 +534,10 @@ if (octave_forge) [urls, local_files] = cellfun ("get_forge_download", files, "uniformoutput", false); + if (verbose) + fprintf ("downloading tarball(s) from:%s\n", ... + sprintf ("\n- %s", urls{:})); + endif [files, succ] = cellfun ("urlwrite", urls, local_files, "uniformoutput", false); succ = [succ{:}];