aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/download.pl
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2017-05-09 15:20:42 +0200
committerFelix Fietkau <nbd@nbd.name>2017-05-25 19:01:07 +0200
commitcbe0a7ecc0b76f4d97d87ca59a0ff8074b8946f4 (patch)
treefcae9c19de77d054ce1af7bd0f2689aa87301893 /scripts/download.pl
parent3c7a99ea90fef77455cf79ddfc3fd737961843e8 (diff)
downloadupstream-cbe0a7ecc0b76f4d97d87ca59a0ff8074b8946f4.tar.gz
upstream-cbe0a7ecc0b76f4d97d87ca59a0ff8074b8946f4.tar.bz2
upstream-cbe0a7ecc0b76f4d97d87ca59a0ff8074b8946f4.zip
scripts/download.pl: print the command used to download files
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'scripts/download.pl')
-rwxr-xr-xscripts/download.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/download.pl b/scripts/download.pl
index 3936f7659a..5c9397b932 100755
--- a/scripts/download.pl
+++ b/scripts/download.pl
@@ -139,6 +139,7 @@ sub download
};
} else {
my @cmd = download_cmd("$mirror/$url_filename");
+ print STDERR "+ ".join(" ",@cmd)."\n";
open(FETCH_FD, '-|', @cmd) or die "Cannot launch curl or wget.\n";
$hash_cmd and do {
open MD5SUM, "| $hash_cmd > '$target/$filename.hash'" or die "Cannot launch $hash_cmd.\n";