diff options
Diffstat (limited to 'bootstrap.py')
-rwxr-xr-x | bootstrap.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/bootstrap.py b/bootstrap.py index ce388ff508..f354d5fb85 100755 --- a/bootstrap.py +++ b/bootstrap.py @@ -5,9 +5,9 @@ from __future__ import print_function import os, sys, stat, hashlib, subprocess -WAFRELEASE = "waf-1.7.16" +WAFRELEASE = "waf-1.8.1" WAFURL = "http://ftp.waf.io/pub/release/" + WAFRELEASE -SHA256HASH = "b64dc26c882572415fd450b745006107965f3fe17b357e3eb43d6676c9635a61" +SHA256HASH = "ec658116ba0b96629d91fde0b32321849e866e0819f1e835c4c2c7f7ffe1a21d" if os.path.exists("waf"): wafver = subprocess.check_output(['./waf', '--version']).decode() @@ -31,6 +31,8 @@ if SHA256HASH == hashlib.sha256(waf).hexdigest(): print("Checksum verified.") else: print("The checksum of the downloaded file does not match!") + print(" - got: {}".format(hashlib.sha256(waf).hexdigest())) + print(" - expected: {}".format(SHA256HASH)) print("Please download and verify the file manually.") sys.exit(1) |