diff options
| author | Daniel Holth <dholth@fastmail.fm> | 2012-09-30 22:52:13 -0400 |
|---|---|---|
| committer | Daniel Holth <dholth@fastmail.fm> | 2012-09-30 22:52:13 -0400 |
| commit | 92e52e6745ec6b1178c2f42585c2f37ab04902a8 (patch) | |
| tree | 7595b559be1bed322ca6304761a85a2dfa34945b | |
| parent | f13c3e109e259a1c8849239ac61f10313640de58 (diff) | |
| download | wheel-git-0.10.1.tar.gz | |
os.linesep0.10.1
| -rw-r--r-- | wheel/install.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wheel/install.py b/wheel/install.py index f145ae2..370ea9a 100644 --- a/wheel/install.py +++ b/wheel/install.py @@ -275,7 +275,7 @@ class WheelFile(object): if key == 'scripts': hashbang = source.readline() if hashbang.startswith(b'#!python'): - hashbang = b'#!' + exename + b'\r\n' + hashbang = b'#!' + exename + os.linesep destination.write(hashbang) shutil.copyfileobj(source, destination) reldest = os.path.relpath(dest, root) |
