Re: [Module::Build] Preserving files' executable bits, once more
Status: Beta
Brought to you by:
kwilliams
From: Ray Z. <rz...@co...> - 2006-04-10 12:03:45
|
On Apr 10, 2006, at 3:04 AM, Randy W. Sims wrote: > Ken Williams wrote: >> On Apr 8, 2006, at 11:17 PM, Randy W. Sims wrote: >>> >>> Borrowing code from ExtUtils::Install::install() and ::pm_to_blib >>> (), the copy_if_modified() method now preserves file mode and >>> timestamps. >> Sounds good to preserve mode, but I'm not sure we want to >> preserve timestamps. Seems like the timestamp can be a useful >> indicator of when a file got updated. > > Hmm, I hadn't really thought too much about it. I was copying the > behavior of MakeMaker via ExtUtils::Install, basically copying the > code verbatim from there. I'm not sure too many people would argue > it either way though. > > I'll go ahead and back out the timestamp change if there are no > arguments. I think I would have a slight preference to preserving timestamps as well. Unfortunately, there are probably conflicting conventions here for different platforms/installers etc. I'm probably just used to Mac OS where moving and copying files around does not typically touch their timestamps. But again different installers probably handle that differently, even on Mac OS. Ray |