summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/command
diff options
context:
space:
mode:
authorTarek Ziadé <ziade.tarek@gmail.com>2009-02-13 23:02:44 (GMT)
committerTarek Ziadé <ziade.tarek@gmail.com>2009-02-13 23:02:44 (GMT)
commit19fe0c8cec43547273ad133791a298396955461b (patch)
tree2a742b6d3cdd1f13cacefb1c57cc8013639bb38c /Lib/distutils/command
parentb71b711b310ec2d1a27a6802c18cee8be5e02f6d (diff)
downloadcpython-19fe0c8cec43547273ad133791a298396955461b.zip
cpython-19fe0c8cec43547273ad133791a298396955461b.tar.gz
cpython-19fe0c8cec43547273ad133791a298396955461b.tar.bz2
Merged revisions 69598 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r69598 | tarek.ziade | 2009-02-14 00:00:43 +0100 (Sat, 14 Feb 2009) | 1 line Fixed #4524: distutils build_script command failed with --with-suffix=3 ........
Diffstat (limited to 'Lib/distutils/command')
-rw-r--r--Lib/distutils/command/build_scripts.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/distutils/command/build_scripts.py b/Lib/distutils/command/build_scripts.py
index 104be0b..453330f 100644
--- a/Lib/distutils/command/build_scripts.py
+++ b/Lib/distutils/command/build_scripts.py
@@ -104,8 +104,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()