diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2016-04-15 13:21:51 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2016-04-25 13:29:53 +0200 |
commit | 182bec427946d4ce951e8572130c903f0131447e (patch) | |
tree | 7c5feb24cb0b56932f08452f16ab52d55b59c78a /contrib/verifysfbinaries/verify.sh | |
parent | c907f4d56b0a27ecd002a6d7d89a38cfc6d45ee3 (diff) |
contrib: remove hardcoded version from verify.sh
Closes #7595 as by removing the hardcoded version number from
`verify.sh`.
Diffstat (limited to 'contrib/verifysfbinaries/verify.sh')
-rwxr-xr-x | contrib/verifysfbinaries/verify.sh | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/contrib/verifysfbinaries/verify.sh b/contrib/verifysfbinaries/verify.sh index 847c507553..657c3bd33c 100755 --- a/contrib/verifysfbinaries/verify.sh +++ b/contrib/verifysfbinaries/verify.sh @@ -23,9 +23,6 @@ BASEDIR="https://bitcoin.org/bin/" VERSIONPREFIX="bitcoin-core-" 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 mkdir "$WORKINGDIR" fi @@ -53,7 +50,8 @@ if [ -n "$1" ]; then SIGNATUREFILE="$BASEDIR$SIGNATUREFILENAME" else - BASEDIR="${SIGNATUREFILE%/*}/" + echo "Error: need to specify a version on the command line" + exit 2 fi #first we fetch the file containing the signature |