Skip to content

Commit

Permalink
Copy the mode (permissions) for configured files.
Browse files Browse the repository at this point in the history
This makes the executables executable again.
  • Loading branch information
Michael Jansen committed Dec 9, 2013
1 parent 71a7b50 commit cb8f58b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions setup.py
Expand Up @@ -231,6 +231,8 @@ def configure_one_file(self, infile, outfile):
before,
self.configure_values)
)
# The last step is to copy the permission bits
shutil.copymode(infile, outfile)

def substitute_values(self, string, values):
for name, val in values.iteritems():
Expand Down

0 comments on commit cb8f58b

Please sign in to comment.