File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ def update_uvh(tmp_dir, header_files):
13
13
header_f = os .path .join (tmp_dir , 'node' , 'src' , file )
14
14
rfile = open (header_f , 'r' )
15
15
old = rfile .read ()
16
- new = re .sub ('third_party/node/deps/uv/include/uv.h' , 'uv.h' , old , 0 )
16
+ new = re .sub ('third_party/node-nw /deps/uv/include/uv.h' , 'uv.h' , old , 0 )
17
17
wfile = open (header_f , 'w' )
18
18
wfile .write (new )
19
19
wfile .close ()
@@ -46,9 +46,10 @@ def update_uvh(tmp_dir, header_files):
46
46
47
47
# prepare the files to compress
48
48
print 'Begin copy file'
49
- base = os .path .join (third_party_dir , 'node' )
49
+ base = os .path .join (third_party_dir , 'node-nw ' )
50
50
for dirpath , dirnames , filenames in os .walk (base ):
51
51
relpath = dirpath .replace (third_party_dir + os .sep , '' )
52
+ relpath = relpath .replace ('node-nw' , 'node' )
52
53
for dirs in dirnames :
53
54
if dirs == 'gyp' or dirs == 'gyp_addon' :
54
55
try :
You can’t perform that action at this time.
0 commit comments