summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)