Re: [Module::Build] Preserving files' executable bits, once more
Status: Beta
Brought to you by:
kwilliams
|
From: Julian M. <ju...@me...> - 2006-04-09 09:42:03
|
Randy W. Sims wrote: > Julian Mehnle wrote: > > [...] > > The intent is to install misc/foo-bar to /etc/foo/bar (with /etc/foo/ > > belonging to another package and bar being a hook script), which > > basically works ok. misc/foo-bar has the executable bit set, however > > when the file is copied to blib/etc-global/foo/bar, the x bit gets > > lost. > > > > Is that by design? If not, I hope this can be fixed before the > > release of 0.28. > > Borrowing code from ExtUtils::Install::install() and ::pm_to_blib(), the > copy_if_modified() method now preserves file mode and timestamps. This > is the method used throughout MB to copy files, so behavior should now > be consistent throughout. That sounds very good, thank you! I'm looking forward to 0.28. Julian. |