summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Holth <dholth@fastmail.fm>2012-09-30 22:52:13 -0400
committerDaniel Holth <dholth@fastmail.fm>2012-09-30 22:52:13 -0400
commit92e52e6745ec6b1178c2f42585c2f37ab04902a8 (patch)
tree7595b559be1bed322ca6304761a85a2dfa34945b
parentf13c3e109e259a1c8849239ac61f10313640de58 (diff)
downloadwheel-git-0.10.1.tar.gz
os.linesep0.10.1
-rw-r--r--wheel/install.py2
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)