perl-test-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From steve...@apache.org
Subject svn commit: r1672079 - /perl/Apache-Test/trunk/Makefile.PL
Date Wed, 08 Apr 2015 12:38:56 GMT
Author: stevehay
Date: Wed Apr  8 12:38:56 2015
New Revision: 1672079

URL: http://svn.apache.org/r1672079
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-Test/trunk/Makefile.PL

Modified: perl/Apache-Test/trunk/Makefile.PL
URL: http://svn.apache.org/viewvc/perl/Apache-Test/trunk/Makefile.PL?rev=1672079&r1=1672078&r2=1672079&view=diff
==============================================================================
--- perl/Apache-Test/trunk/Makefile.PL (original)
+++ perl/Apache-Test/trunk/Makefile.PL Wed Apr  8 12:38:56 2015
@@ -86,6 +86,9 @@ WriteMakefile(
     NO_META   => $no_meta,
     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 => "@clean_files",



Mime
View raw message