You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by bc...@apache.org on 2018/02/26 17:44:25 UTC

[trafficserver] branch master updated: Added sub to skip .in extension

This is an automated email from the ASF dual-hosted git repository.

bcall pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


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

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

    Added sub to skip .in extension
---
 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
bcall@apache.org.