summaryrefslogtreecommitdiff
path: root/setuptools/command/easy_install.py
diff options
context:
space:
mode:
authorPJ Eby <distutils-sig@python.org>2007-02-01 19:03:18 +0000
committerPJ Eby <distutils-sig@python.org>2007-02-01 19:03:18 +0000
commit9f48a0b6f13542da75e4aec7acfc758f9f191245 (patch)
tree34ec730db7b02dfd282ed4030fccd99ba1f2da4c /setuptools/command/easy_install.py
parent6dbe235a605c0c2f9a28aafb033ae7e983c82678 (diff)
downloadpython-setuptools-git-9f48a0b6f13542da75e4aec7acfc758f9f191245.tar.gz
Fixed distutils-style scripts originally built on Windows having their
line endings doubled when installed on any platform. (backport) --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4053612
Diffstat (limited to 'setuptools/command/easy_install.py')
-rwxr-xr-xsetuptools/command/easy_install.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setuptools/command/easy_install.py b/setuptools/command/easy_install.py
index f718d3d4..ce716b0e 100755
--- a/setuptools/command/easy_install.py
+++ b/setuptools/command/easy_install.py
@@ -373,7 +373,7 @@ Please make the appropriate changes for your system and try again.
for script_name in dist.metadata_listdir('scripts'):
self.install_script(
dist, script_name,
- dist.get_metadata('scripts/'+script_name).replace('\r','\n')
+ '\n'.join(dist.get_metadata('scripts/'+script_name).splitlines())
)
self.install_wrapper_scripts(dist)