summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2017-05-09 15:20:42 +0200
committerJo-Philipp Wich <jo@mein.io>2017-12-13 15:42:08 +0100
commitef43c04c34f23433fea6744eb96b1dfbb1cc4c0d (patch)
tree6065bc472df34c940be71bf6b18b25a84f451d67 /scripts
parent6e09b20563edbe5fd7db1bb005b7460d4d59314e (diff)
downloadopenwrt-ef43c04c34f23433fea6744eb96b1dfbb1cc4c0d.tar.gz
openwrt-ef43c04c34f23433fea6744eb96b1dfbb1cc4c0d.tar.bz2
openwrt-ef43c04c34f23433fea6744eb96b1dfbb1cc4c0d.zip
scripts/download.pl: print the command used to download files
Signed-off-by: Felix Fietkau <nbd@nbd.name> (cherry picked from commit cbe0a7ecc0b76f4d97d87ca59a0ff8074b8946f4)
Diffstat (limited to 'scripts')
-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";