commit | b7cd840dd7b36df7014abe458a6c799266e5bbe3 | [log] [tgz] |
---|---|---|
author | Abhishek Chanda <[email protected]> | Sun Dec 11 15:25:31 2016 |
committer | Abhishek Chanda <[email protected]> | Sun Dec 11 15:25:31 2016 |
tree | 230de10d0fb62006d0fe19a4411e4fb2d8a0e43c | |
parent | e0158e02f97957c3d8cbd9c52da5aadaf898d447 [diff] [blame] |
Handle Ctrl+C in the build script
diff --git a/x.py b/x.py index 54148b0..d281a6a 100755 --- a/x.py +++ b/x.py
@@ -16,4 +16,7 @@ import bootstrap -bootstrap.main() +try: + bootstrap.main() +except KeyboardInterrupt: + sys.exit()