From: Cheng Zhao Date: Tue, 13 May 2014 13:03:32 +0000 (+0800) Subject: Do not copy system libraries with permission bits. X-Git-Tag: v0.12.5~20 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=d42dc9baba9f38548d00b05a69202ed124d2dd38;p=electron.git Do not copy system libraries with permission bits. --- diff --git a/script/create-dist.py b/script/create-dist.py index 270be34b..63519edf 100755 --- a/script/create-dist.py +++ b/script/create-dist.py @@ -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