Skip to content

Commit fc96dfd

Browse files
committed
fix dist target on mac is broken
1 parent e223119 commit fc96dfd

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

tools/package_binaries.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -167,10 +167,7 @@
167167
for dirpath, dirnames, filenames in os.walk(binary_full_path):
168168
for name in filenames:
169169
path = os.path.normpath(os.path.join(dirpath, name))
170-
171-
if os.path.isfile(path):
172-
zip.write(path, os.path.join(os.path.basename(binary_full_path), name))
173-
170+
zip.write(path, path.replace(binary_full_path+os.sep, ''))
174171

175172
zip.close()
176173

0 commit comments

Comments
 (0)