--- a/wscript Thu Apr 16 11:02:11 2009 +0100 +++ b/wscript Thu Apr 16 12:02:11 2009 +0100 @@ -459,6 +459,8 @@ def shutdown(ctx): bld = wutils.bld + if wutils.bld is None: + return env = bld.env #if Options.commands['check']: