projects
/
openwrt
/
svn-archive
/
archive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c08e0a
)
download.pl: fix openssl sha256 digest output
author
Felix Fietkau
<nbd@openwrt.org>
Sat, 16 Jan 2016 10:24:15 +0000
(10:24 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Sat, 16 Jan 2016 10:24:15 +0000
(10:24 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48259
scripts/download.pl
patch
|
blob
|
history
diff --git
a/scripts/download.pl
b/scripts/download.pl
index 3b8b267a427eef70c49ef1c9453f1b568b834fdc..9d1fe4755aecf3edc4b8b03ba81a27bc753f7720 100755
(executable)
--- a/
scripts/download.pl
+++ b/
scripts/download.pl
@@
-63,7
+63,7
@@
sub hash_cmd() {
my $len = length($file_hash);
my $cmd;
- $len == 64 and return "openssl dgst -sha256";
+ $len == 64 and return "openssl dgst -sha256
| sed -e 's,.*= ,,'
";
$len == 32 and do {
my $cmd = which("md5sum") || which("md5") || die 'no md5 checksum program found, please install md5 or md5sum';
chomp $cmd;