# HG changeset patch # User Jeff Hammel # Date 1294691966 28800 # Node ID 2c1310e94645422342ebd74129a43e4d3fcc862e # Parent cb6c54b1adf386e70ddd127ce91d014a49a1486c try to interpolate templates diff -r cb6c54b1adf3 -r 2c1310e94645 makeitso/makeitso.py --- a/makeitso/makeitso.py Mon Jan 10 12:35:37 2011 -0800 +++ b/makeitso/makeitso.py Mon Jan 10 12:39:26 2011 -0800 @@ -223,6 +223,11 @@ f.close() else: print >> f, output + try: + os.chmod(self.output, os.stat(self.name).st_mode) + except: + pass + class DirectoryTemplate(ContentTemplate): """template for a directory structure"""