Author: stevehay Date: Wed Apr 22 07:48:49 2015 New Revision: 1675269 URL: http://svn.apache.org/r1675269 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/Apache-Reload/trunk/Makefile.PL Modified: perl/Apache-Reload/trunk/Makefile.PL URL: http://svn.apache.org/viewvc/perl/Apache-Reload/trunk/Makefile.PL?rev=1675269&r1=1675268&r2=1675269&view=diff ============================================================================== --- perl/Apache-Reload/trunk/Makefile.PL (original) +++ perl/Apache-Reload/trunk/Makefile.PL Wed Apr 22 07:48:49 2015 @@ -24,6 +24,12 @@ my $HAS_APACHE_TEST = check_for_apache_t my %common_opts = ( PREREQ_PM => \%prereqs, + dist => { + 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' + }, clean => { FILES => 't/TEST' }, );