[source] scripts/download.pl: print the command used to download files
LEDE Commits
lede-commits at lists.infradead.org
Thu Dec 14 09:44:22 PST 2017
jow pushed a commit to source.git, branch lede-17.01:
https://git.lede-project.org/ef43c04c34f23433fea6744eb96b1dfbb1cc4c0d
commit ef43c04c34f23433fea6744eb96b1dfbb1cc4c0d
Author: Felix Fietkau <nbd at nbd.name>
AuthorDate: Tue May 9 15:20:42 2017 +0200
scripts/download.pl: print the command used to download files
Signed-off-by: Felix Fietkau <nbd at nbd.name>
(cherry picked from commit cbe0a7ecc0b76f4d97d87ca59a0ff8074b8946f4)
---
scripts/download.pl | 1 +
1 file changed, 1 insertion(+)
diff --git a/scripts/download.pl b/scripts/download.pl
index 3936f76..5c9397b 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(" ", at 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";
More information about the lede-commits
mailing list