File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -17,15 +17,15 @@ function clean_up {
17
17
WORKINGDIR=" /tmp/bitcoin"
18
18
TMPFILE=" hashes.tmp"
19
19
20
- # this URL is used if a version number is not specified as an argument to the script
21
- SIGNATUREFILE=" https://bitcoin.org/bin/0.9.2.1/SHA256SUMS.asc"
22
-
23
20
SIGNATUREFILENAME=" SHA256SUMS.asc"
24
21
RCSUBDIR=" test/"
25
22
BASEDIR=" https://bitcoin.org/bin/"
26
- VERSIONPREFIX=" bitcoin-"
23
+ VERSIONPREFIX=" bitcoin-core- "
27
24
RCVERSIONSTRING=" rc"
28
25
26
+ # this URL is used if a version number is not specified as an argument to the script
27
+ SIGNATUREFILE=" $BASEDIR " " $VERSIONPREFIX " " 0.10.4/" " $RCSUBDIR " " $SIGNATUREFILENAME "
28
+
29
29
if [ ! -d " $WORKINGDIR " ]; then
30
30
mkdir " $WORKINGDIR "
31
31
fi
@@ -62,7 +62,7 @@ WGETOUT=$(wget -N "$BASEDIR$SIGNATUREFILENAME" 2>&1)
62
62
# and then see if wget completed successfully
63
63
if [ $? -ne 0 ]; then
64
64
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.9.2-rc1 )"
65
+ echo " [$VERSIONPREFIX ]<version>-[$RCVERSIONSTRING [0-9]] (example: " $VERSIONPREFIX " 0.10.4- " $RCVERSIONSTRING " 1 )"
66
66
echo " wget output:"
67
67
echo " $WGETOUT " | sed ' s/^/\t/g'
68
68
exit 2
You can’t perform that action at this time.
0 commit comments