Show More
@@ -22,8 +22,6 b" supportedpy = ','.join(" | |||||
22 | import sys, platform |
|
22 | import sys, platform | |
23 | import sysconfig |
|
23 | import sysconfig | |
24 |
|
24 | |||
25 | libdir_escape = 'unicode_escape' |
|
|||
26 |
|
||||
27 |
|
25 | |||
28 | def sysstr(s): |
|
26 | def sysstr(s): | |
29 | return s.decode('latin-1') |
|
27 | return s.decode('latin-1') | |
@@ -1116,7 +1114,7 b' class hginstallscripts(install_scripts):' | |||||
1116 | ) |
|
1114 | ) | |
1117 | continue |
|
1115 | continue | |
1118 |
|
1116 | |||
1119 |
data = data.replace(b'@LIBDIR@', libdir.encode( |
|
1117 | data = data.replace(b'@LIBDIR@', libdir.encode('unicode_escape')) | |
1120 | with open(outfile, 'wb') as fp: |
|
1118 | with open(outfile, 'wb') as fp: | |
1121 | fp.write(data) |
|
1119 | fp.write(data) | |
1122 |
|
1120 |
General Comments 0
You need to be logged in to leave comments.
Login now