Ronald Oussoren  committed 03de412

Make sure that the additional executables have the right permissions

Without this patch we'd sometimes end up with binaries that don't
have execute permissions.

  • Participants
  • Parent commits f67166f

Comments (0)

Files changed (1)

File py2app/

 import pkg_resources
 from py2app.apptemplate.setup import main as script_executable
-from py2app.util import mergecopy
+from py2app.util import mergecopy, make_exec
                 src_fn = script_executable(arch=self.arch)
                 tgt_fn = os.path.join(target.appdir, 'Contents', 'MacOS', fn)
                 mergecopy(src_fn, tgt_fn)
+                make_exec(tgt_fn)
     def collect_recipedict(self):
         return dict(iterRecipes())