Re: [Module-build-general] dist dir is just symlinks?!
Status: Beta
Brought to you by:
kwilliams
|
From: Dave R. <au...@ur...> - 2003-08-01 13:08:24
|
On Fri, 1 Aug 2003, Andreas J Koenig wrote: > >>>>> On Mon, 28 Jul 2003 17:44:56 -0500 (CDT), Dave Rolsky <au...@ur...> said: > > dr> Bleah, that sucks! Whoever wrote EU::Manifest needs to be beaten. > > Me, Me! That's it, I'm gonna get ya! > dr> Here's a good one. If you set the copying method to 'cp' it changes the > dr> permissions on the copied files to remove write permission. Just > dr> brilliant, really. After all, it's inconceivable that anyone might need > dr> to ever alter these files. > > I apologise for not documenting this behaviour. But please consider > the age of the code base and the original target audience. I wrote it > ~7 years ago and the only place it was used was for the 'make dist' > target of MakeMaker. At that time everybody agreed that we should > C<chmod -w> all files in a distribution file for CPAN. Yeah, I know the origins. Sorry for the rant. I was just frustrated after spending some time figuring out why every time I changed a file in the dist dir, I saw changes under the base directory. Anyway, I think having M::B use the 'cp' mode is fine for now. Maybe we can add a 'clean' mode in the future which just copies and doesn't tweak permissions. -dave /*======================= House Absolute Consulting www.houseabsolute.com =======================*/ |