mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Do not copy system libraries with permission bits.
This commit is contained in:
@@ -177,7 +177,7 @@ def copy_system_libraries():
|
||||
for i, library in enumerate(SYSTEM_LIBRARIES):
|
||||
real_library = m.group(1)
|
||||
if real_library.startswith(library):
|
||||
shutil.copy2(m.group(2), os.path.join(DIST_DIR, real_library))
|
||||
shutil.copyfile(m.group(2), os.path.join(DIST_DIR, real_library))
|
||||
SYSTEM_LIBRARIES[i] = real_library
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user