mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-26 19:23:26 -03:00
contrib: remove hardcoded version from verify.sh
Closes #7595 as by removing the hardcoded version number from `verify.sh`.
This commit is contained in:
parent
c907f4d56b
commit
182bec4279
1 changed files with 2 additions and 4 deletions
|
@ -23,9 +23,6 @@ BASEDIR="https://bitcoin.org/bin/"
|
||||||
VERSIONPREFIX="bitcoin-core-"
|
VERSIONPREFIX="bitcoin-core-"
|
||||||
RCVERSIONSTRING="rc"
|
RCVERSIONSTRING="rc"
|
||||||
|
|
||||||
#this URL is used if a version number is not specified as an argument to the script
|
|
||||||
SIGNATUREFILE="$BASEDIR""$VERSIONPREFIX""0.10.4/""$RCSUBDIR""$SIGNATUREFILENAME"
|
|
||||||
|
|
||||||
if [ ! -d "$WORKINGDIR" ]; then
|
if [ ! -d "$WORKINGDIR" ]; then
|
||||||
mkdir "$WORKINGDIR"
|
mkdir "$WORKINGDIR"
|
||||||
fi
|
fi
|
||||||
|
@ -53,7 +50,8 @@ if [ -n "$1" ]; then
|
||||||
|
|
||||||
SIGNATUREFILE="$BASEDIR$SIGNATUREFILENAME"
|
SIGNATUREFILE="$BASEDIR$SIGNATUREFILENAME"
|
||||||
else
|
else
|
||||||
BASEDIR="${SIGNATUREFILE%/*}/"
|
echo "Error: need to specify a version on the command line"
|
||||||
|
exit 2
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#first we fetch the file containing the signature
|
#first we fetch the file containing the signature
|
||||||
|
|
Loading…
Add table
Reference in a new issue