Skip to content
This repository has been archived by the owner on Jun 8, 2022. It is now read-only.

Commit

Permalink
Merge pull request #37 from bhosking/master
Browse files Browse the repository at this point in the history
FIX: Preserve permissions when building archive
  • Loading branch information
raymondbutcher authored Mar 14, 2019
2 parents b65918e + f1920ac commit 6b5ac87
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ def create_zip_file(source_dir, target_file):
os.makedirs(target_dir)
print('cp {} {}'.format(file_name, target_path))
shutil.copyfile(file_name, target_path)
shutil.copymode(file_name, target_path)

# Install dependencies into the temporary directory.
if runtime.startswith('python'):
Expand Down

0 comments on commit 6b5ac87

Please sign in to comment.