diff options
author | Richard Levitte <richard@levitte.org> | 2016-01-22 12:25:14 +0100 |
---|---|---|
committer | Richard Levitte <richard@levitte.org> | 2016-01-22 23:12:22 +0100 |
commit | 8ff2af548303d311ce3591406111f77862875a60 (patch) | |
tree | 393ca181167ee0a13e0b2547597fe9ec3ad651d8 /external/perl/transfer | |
parent | 35c3a562c74aba6e3ac3d577a356b314a151740e (diff) |
Bundle the non core Perl module Text::Template
Because we're using Text::Template and we know it's a non core Perl
module, we choose to bundle it into our source, for convenience.
external/perl/Downloaded.txt document what modules we choose to bundle
this way and exactly where we downloaded it from.
With this changes comes the transfer module for with_fallback.
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'external/perl/transfer')
-rw-r--r-- | external/perl/transfer/Text/Template.pm | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/external/perl/transfer/Text/Template.pm b/external/perl/transfer/Text/Template.pm new file mode 100644 index 0000000000..13ed1eb1f7 --- /dev/null +++ b/external/perl/transfer/Text/Template.pm @@ -0,0 +1,12 @@ +#! /usr/bin/perl + +# Quick transfer to the downloaded Text::Template + +BEGIN { + use File::Spec::Functions; + use File::Basename; + use lib catdir(dirname(__FILE__), "..", ".."); + my $texttemplate = catfile("Text-Template-1.46", "lib", "Text", "Template.pm"); + require $texttemplate; +} +1; |