summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/command/build.py
diff options
context:
space:
mode:
authorMichael W. Hudson <mwh@python.net>2001-12-10 15:28:30 (GMT)
committerMichael W. Hudson <mwh@python.net>2001-12-10 15:28:30 (GMT)
commit49bdaede1b688a7efa17257895f3556496a02277 (patch)
tree385d64d8638758250326c18e0ece0cb02225cb23 /Lib/distutils/command/build.py
parent2990640d8af1d1fd6ba264ced46e741b9dc091d0 (diff)
downloadcpython-49bdaede1b688a7efa17257895f3556496a02277.zip
cpython-49bdaede1b688a7efa17257895f3556496a02277.tar.gz
cpython-49bdaede1b688a7efa17257895f3556496a02277.tar.bz2
Fix for
[ #477371 ] build_scripts can use wrong #! line scripts now get "built" into a directory build/scripts-$(PYTHON_VERSION)/
Diffstat (limited to 'Lib/distutils/command/build.py')
-rw-r--r--Lib/distutils/command/build.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/distutils/command/build.py b/Lib/distutils/command/build.py
index cf35b45..6bc92a4 100644
--- a/Lib/distutils/command/build.py
+++ b/Lib/distutils/command/build.py
@@ -90,7 +90,8 @@ class build (Command):
self.build_temp = os.path.join(self.build_base,
'temp' + plat_specifier)
if self.build_scripts is None:
- self.build_scripts = os.path.join(self.build_base, 'scripts')
+ self.build_scripts = os.path.join(self.build_base,
+ 'scripts-' + sys.version[0:3])
# finalize_options ()