about summary refs log tree commit diff
path: root/x.py
diff options
context:
space:
mode:
Diffstat (limited to 'x.py')
-rwxr-xr-xx.py14
1 files changed, 6 insertions, 8 deletions
diff --git a/x.py b/x.py
index d281a6abc93..8f528889d60 100755
--- a/x.py
+++ b/x.py
@@ -9,14 +9,12 @@
 # option. This file may not be copied, modified, or distributed
 # except according to those terms.
 
-import sys
+# This file is only a "symlink" to boostrap.py, all logic should go there.
+
 import os
-dir = os.path.dirname(__file__)
-sys.path.append(os.path.abspath(os.path.join(dir, "src", "bootstrap")))
+import sys
+rust_dir = os.path.dirname(os.path.abspath(__file__))
+sys.path.append(os.path.join(rust_dir, "src", "bootstrap"))
 
 import bootstrap
-
-try:
-    bootstrap.main()
-except KeyboardInterrupt:
-    sys.exit()
+bootstrap.main()