mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
Fixed #4524: distutils build_script command failed with --with-suffix=3
This commit is contained in:
parent
275958aacf
commit
2432b0b367
3 changed files with 33 additions and 2 deletions
|
@ -102,8 +102,8 @@ class build_scripts (Command):
|
|||
outf.write("#!%s%s\n" %
|
||||
(os.path.join(
|
||||
sysconfig.get_config_var("BINDIR"),
|
||||
"python" + sysconfig.get_config_var("VERSION")
|
||||
+ sysconfig.get_config_var("EXE")),
|
||||
"python%s%s" % (sysconfig.get_config_var("VERSION"),
|
||||
sysconfig.get_config_var("EXE"))),
|
||||
post_interp))
|
||||
outf.writelines(f.readlines())
|
||||
outf.close()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue