diff options
author | phillip.eby <phillip.eby@6015fed2-1504-0410-9fe1-9d1591cc4771> | 2007-02-01 18:57:06 +0000 |
---|---|---|
committer | phillip.eby <phillip.eby@6015fed2-1504-0410-9fe1-9d1591cc4771> | 2007-02-01 18:57:06 +0000 |
commit | 7dd4ee57de49712f35027fc4e078cc87a1c6c824 (patch) | |
tree | 100598977a788ac5cad3414e6842407ece1df0cc /setuptools/command | |
parent | 7afa9106977dbb0a3e36f196d7606485d0b3b03e (diff) | |
download | python-setuptools-7dd4ee57de49712f35027fc4e078cc87a1c6c824.tar.gz |
Fixed mangling line endings when an old-style source script came from
Windows.
git-svn-id: http://svn.python.org/projects/sandbox/trunk/setuptools@53611 6015fed2-1504-0410-9fe1-9d1591cc4771
Diffstat (limited to 'setuptools/command')
-rwxr-xr-x | setuptools/command/easy_install.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/setuptools/command/easy_install.py b/setuptools/command/easy_install.py index 52a6865..901df98 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) |