From d42dc9baba9f38548d00b05a69202ed124d2dd38 Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Tue, 13 May 2014 21:03:32 +0800 Subject: [PATCH] Do not copy system libraries with permission bits. --- script/create-dist.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.43.0