Author: stevehay Date: Tue May 12 13:02:57 2015 New Revision: 1678930 URL: http://svn.apache.org/r1678930 Log: Ensure file permissions and EOLs are set correctly when creating the release tarball
Otherwise EOLs in particular are not set correctly (i.e. LF) when creating a release from a workspace on a Windows machine since native EOLs (i.e. CRLF in this case) are used by default in client-side workspaces. Modified: perl/modperl/trunk/Makefile.PL Modified: perl/modperl/trunk/Makefile.PL URL: http://svn.apache.org/viewvc/perl/modperl/trunk/Makefile.PL?rev=1678930&r1=1678929&r2=1678930&view=diff ============================================================================== --- perl/modperl/trunk/Makefile.PL (original) +++ perl/modperl/trunk/Makefile.PL Tue May 12 13:02:57 2015 @@ -93,6 +93,9 @@ ModPerl::BuildMM::WriteMakefile( dist => { DIST_DEFAULT => 'mydist', COMPRESS => 'gzip -9f', SUFFIX=>'gz', + PREOP => 'find $(DISTVNAME) -type d -print|xargs chmod 0755 && ' . + 'find $(DISTVNAME) -type f -print|xargs chmod 0644', + TO_UNIX => 'find $(DISTVNAME) -type f -print|xargs dos2unix' }, );