mirror of
https://github.com/openssl/openssl.git
synced 2024-11-27 05:21:51 +08:00
Adjust transfer::Text::Template.pm for alternate directory name
On VMS, periods in directory names weren't allowed. To counter that, unpackers such as VMSTAR convert periods in directory names to underscores. We need to count that in and add an alternative library path for Text::Template. Reviewed-by: Rich Salz <rsalz@openssl.org>
This commit is contained in:
parent
a762655743
commit
c680f77fb1
6
external/perl/transfer/Text/Template.pm
vendored
6
external/perl/transfer/Text/Template.pm
vendored
@ -5,9 +5,11 @@
|
||||
BEGIN {
|
||||
use File::Spec::Functions;
|
||||
use File::Basename;
|
||||
use lib catdir(dirname(__FILE__), "..", "..",
|
||||
"Text-Template-1.46", "lib");
|
||||
use lib catdir(dirname(__FILE__), "..", "..", "Text-Template-1.46", "lib");
|
||||
# Some unpackers on VMS convert periods in directory names to underscores
|
||||
use lib catdir(dirname(__FILE__), "..", "..", "Text-Template-1_46", "lib");
|
||||
use Text::Template;
|
||||
shift @INC; # Takes away the effect of use lib
|
||||
shift @INC; # Takes away the effect of use lib
|
||||
}
|
||||
1;
|
||||
|
Loading…
Reference in New Issue
Block a user