Mercurial > gub
changeset 5510:bfb2318d2553
Resurrect checksum sanity check.
author | Jan Nieuwenhuizen <janneke@gnu.org> |
---|---|
date | Thu, 20 Aug 2009 22:09:41 +0200 |
parents | f53a7c60a217 |
children | 67d0f55b4be9 |
files | gub/buildrunner.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/gub/buildrunner.py Thu Aug 20 22:08:02 2009 +0200 +++ b/gub/buildrunner.py Thu Aug 20 22:09:41 2009 +0200 @@ -248,7 +248,7 @@ deferred_runner.execute_deferred_commands () checksum_file = spec.expand ('%(checksum_file)s') if checksum_file: - if 0: #len (self.checksums[spec_name].split ('\n')) < 5: + if len (self.checksums[spec_name].split ('\n')) < 5 and not 'BOOTSTRAP' in os.environ.keys (): # Sanity check. This can't be right. Do not # overwrite precious [possibly correct] checksum. raise Exception ('BROKEN CHECKSUM:' + self.checksums[spec_name])