Skip to content

Commit a11f648

Browse files
committed
Merge pull request #4441
ffebc1b Update verify.sh script to point to bitcoin.org (Michael Ford)
2 parents 7b8fc9d + ffebc1b commit a11f648

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

contrib/verifysfbinaries/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
### Verify SF Binaries ###
2-
This script attempts to download the signature file `SHA256SUMS.asc` from SourceForge.
2+
This script attempts to download the signature file `SHA256SUMS.asc` from https://bitcoin.org.
33

44
It first checks if the signature passes, and then downloads the files specified in the file, and checks if the hashes of these files match those that are specified in the signature file.
55

contrib/verifysfbinaries/verify.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
### This script attempts to download the signature file SHA256SUMS.asc from SourceForge
3+
### This script attempts to download the signature file SHA256SUMS.asc from bitcoin.org
44
### It first checks if the signature passes, and then downloads the files specified in
55
### the file, and checks if the hashes of these files match those that are specified
66
### in the signature file.
@@ -18,11 +18,11 @@ WORKINGDIR="/tmp/bitcoin"
1818
TMPFILE="hashes.tmp"
1919

2020
#this URL is used if a version number is not specified as an argument to the script
21-
SIGNATUREFILE="http://downloads.sourceforge.net/project/bitcoin/Bitcoin/bitcoin-0.9.0rc1/SHA256SUMS.asc"
21+
SIGNATUREFILE="https://bitcoin.org/bin/0.9.2.1/SHA256SUMS.asc"
2222

2323
SIGNATUREFILENAME="SHA256SUMS.asc"
2424
RCSUBDIR="test/"
25-
BASEDIR="http://downloads.sourceforge.net/project/bitcoin/Bitcoin/"
25+
BASEDIR="https://bitcoin.org/bin/"
2626
VERSIONPREFIX="bitcoin-"
2727
RCVERSIONSTRING="rc"
2828

@@ -62,7 +62,7 @@ WGETOUT=$(wget -N "$BASEDIR$SIGNATUREFILENAME" 2>&1)
6262
#and then see if wget completed successfully
6363
if [ $? -ne 0 ]; then
6464
echo "Error: couldn't fetch signature file. Have you specified the version number in the following format?"
65-
echo "[bitcoin-]<version>-[rc[0-9]] (example: bitcoin-0.7.1-rc1)"
65+
echo "[bitcoin-]<version>-[rc[0-9]] (example: bitcoin-0.9.2-rc1)"
6666
echo "wget output:"
6767
echo "$WGETOUT"|sed 's/^/\t/g'
6868
exit 2

0 commit comments

Comments
 (0)