[Module-build-general] [PATCH] always copy files to dist dir
Status: Beta
Brought to you by:
kwilliams
|
From: Dave R. <au...@ur...> - 2003-08-13 16:43:24
|
I proposed this earlier and got no response so here's a patch to implement this. I think doing this just makes more sense, since otherwise we can't manipular files in the dist dir without affecting the base dir files, since the dist dir could just be symlinks. -dave /*======================= House Absolute Consulting www.houseabsolute.com =======================*/ --- Base.pm.~1.163.~ 1969-12-31 19:00:01.000000000 -0500 +++ Base.pm 2003-08-13 11:51:12.000000000 -0400 @@ -1486,7 +1486,7 @@ my $dist_dir = $self->dist_dir; $self->delete_filetree($dist_dir); $self->add_to_cleanup($dist_dir); - ExtUtils::Manifest::manicopy($dist_files, $dist_dir, 'best'); + ExtUtils::Manifest::manicopy($dist_files, $dist_dir, 'cp'); warn "*** Did you forget to add $self->{metafile} to the MANIFEST?\n" unless exists $dist_files->{$self->{metafile}}; $self->_sign_dir($dist_dir) if $self->{properties}{sign}; |