Commits

Daniel Holth  committed 9cd2a16

os.linesep

  • Participants
  • Parent commits 201bf07
  • Tags 0.10.1

Comments (0)

Files changed (1)

File wheel/install.py

             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)