summaryrefslogtreecommitdiffstats
path: root/Tools/jit/build.py
diff options
context:
space:
mode:
authorBrandt Bucher <brandtbucher@microsoft.com>2024-11-24 22:42:50 (GMT)
committerGitHub <noreply@github.com>2024-11-24 22:42:50 (GMT)
commit17c16aea66b606d66f71ae9af381bc34d0ef3f5f (patch)
tree298f1edc27bae1914d1f89cd51384b9d24149bb8 /Tools/jit/build.py
parent307c63358681d669ae39e5ecd814bded4a93443a (diff)
downloadcpython-17c16aea66b606d66f71ae9af381bc34d0ef3f5f.zip
cpython-17c16aea66b606d66f71ae9af381bc34d0ef3f5f.tar.gz
cpython-17c16aea66b606d66f71ae9af381bc34d0ef3f5f.tar.bz2
GH-115869: Make jit_stencils.h reproducible (GH-127166)
Diffstat (limited to 'Tools/jit/build.py')
-rw-r--r--Tools/jit/build.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/jit/build.py b/Tools/jit/build.py
index 4a23c6f..a8cb0f6 100644
--- a/Tools/jit/build.py
+++ b/Tools/jit/build.py
@@ -8,7 +8,7 @@ import sys
import _targets
if __name__ == "__main__":
- comment = f"$ {shlex.join([sys.executable] + sys.argv)}"
+ comment = f"$ {shlex.join([pathlib.Path(sys.executable).name] + sys.argv)}"
parser = argparse.ArgumentParser(description=__doc__)
parser.add_argument(
"target", type=_targets.get_target, help="a PEP 11 target triple to compile for"