trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zw...@apache.org
Subject [trafficserver] branch 7.1.x updated: Added sub to skip .in extension
Date Wed, 28 Mar 2018 03:22:33 GMT
This is an automated email from the ASF dual-hosted git repository.

zwoop pushed a commit to branch 7.1.x
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/7.1.x by this push:
     new dee3447  Added sub to skip .in extension
dee3447 is described below

commit dee34478bea7b4f463df84d2638d90565cb4cc99
Author: Evan Zelkowitz <19699200+ezelkow1@users.noreply.github.com>
AuthorDate: Fri Feb 23 11:00:19 2018 -0700

    Added sub to skip .in extension
    
    (cherry picked from commit e159fdec1bc64dee5bfbcdc0f83855ea6f9baa2d)
---
 lib/perl/Makefile.PL | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/lib/perl/Makefile.PL b/lib/perl/Makefile.PL
index eda0415..3b6659f 100644
--- a/lib/perl/Makefile.PL
+++ b/lib/perl/Makefile.PL
@@ -18,6 +18,13 @@ require 5.006;
 use ExtUtils::MakeMaker;
 # See lib/ExtUtils/MakeMaker.pm for details of how to influence
 # the contents of the Makefile that is written.
+
+sub MY::libscan {
+    my( $mm, $file ) = @_;
+    return if $file =~  /\.in$/; # SKIP
+    return $file;
+}
+
 WriteMakefile(
     NAME              => 'Apache::TS',
     VERSION_FROM      => 'lib/Apache/TS.pm', # finds $VERSION

-- 
To stop receiving notification emails like this one, please contact
zwoop@apache.org.

Mime
View raw message