File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 10
10
``` sh
11
11
./verify.sh bitcoin-core-0.11.2
12
12
./verify.sh bitcoin-core-0.12.0
13
+ ./verify.sh bitcoin-core-0.13.0-rc3
13
14
```
Original file line number Diff line number Diff line change @@ -14,11 +14,11 @@ function clean_up {
14
14
done
15
15
}
16
16
17
- WORKINGDIR=" /tmp/bitcoin "
17
+ WORKINGDIR=" /tmp/bitcoin_verify_binaries "
18
18
TMPFILE=" hashes.tmp"
19
19
20
20
SIGNATUREFILENAME=" SHA256SUMS.asc"
21
- RCSUBDIR=" test/ "
21
+ RCSUBDIR=" test"
22
22
BASEDIR=" https://bitcoin.org/bin/"
23
23
VERSIONPREFIX=" bitcoin-core-"
24
24
RCVERSIONSTRING=" rc"
@@ -43,7 +43,7 @@ if [ -n "$1" ]; then
43
43
# and simultaneously add RCSUBDIR to BASEDIR, where we will look for SIGNATUREFILENAME
44
44
if [[ $VERSION == * " $RCVERSIONSTRING " * ]]; then
45
45
BASEDIR=" $BASEDIR ${VERSION/% -$RCVERSIONSTRING * } /"
46
- BASEDIR=" $BASEDIR$RCSUBDIR "
46
+ BASEDIR=" $BASEDIR$RCSUBDIR . $RCVERSIONSTRING ${VERSION : -1} / "
47
47
else
48
48
BASEDIR=" $BASEDIR$VERSION /"
49
49
fi
93
93
FILES=$( awk ' {print $2}' " $TMPFILE " )
94
94
95
95
# and download these one by one
96
- for file in in $FILES
96
+ for file in $FILES
97
97
do
98
98
wget --quiet -N " $BASEDIR$file "
99
99
done
You can’t perform that action at this time.
0 commit comments