compressing.tgz....a dir which contain dir\a.js, dir\b.js; then upload this tgz to linux, and run tar zxvf xx.tgz, the result is unexpected( dir\a.js , dir\b.js );
I think the problem is not change /\/ to / on windows; the path is at lib/tar/stream.js/_addDirEntry();
I modify like below and works well:
I do not whether this is a good idea, or I can fix it by so config; if not; I hope this problem can fixed as soon as posibble; best wishes to you ^ _ ^
this zip contain a tgz file which is used compressing.tgz compress; you can try run zxvf dist.201901071743.tgz on linux, You can find the path is not expected.
compressing.tgz....a dir which contain dir\a.js, dir\b.js; then upload this tgz to linux, and run tar zxvf xx.tgz, the result is unexpected( dir\a.js , dir\b.js );
I think the problem is not change /\/ to / on windows; the path is at lib/tar/stream.js/_addDirEntry(); I modify like below and works well:
I do not whether this is a good idea, or I can fix it by so config; if not; I hope this problem can fixed as soon as posibble; best wishes to you ^ _ ^