Skip to content

Commit 2e5ffd0

Browse files
author
Halim Amer
committed
Added current directory for some Perl scripts
New versions of Perl do not include '.' in @inc by default. This patch adds '.' manually to search for modules.
1 parent 5631621 commit 2e5ffd0

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

testsuite/runtest.pl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@
2525
use Getopt::Long;
2626
#use Unix::PID;
2727
use Data::Dumper;
28+
29+
# Add root directory
30+
use lib '.';
2831
use ompts_parserFunctions;
2932

3033
# Extracting given options

testsuite/template_parser_c.pl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616

1717
# Using Getopt::long to extract the programm options
1818
use Getopt::Long;
19+
# Add root directory
20+
use lib '.';
1921
# Using functions: Set of subroutines to modify the testcode
2022
use ompts_parserFunctions;
2123

testsuite/template_parser_fortran.pl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616

1717
# Using Getopt::long to extract the programm options
1818
use Getopt::Long;
19+
# Add root directory
20+
use lib '.';
1921
# Using functions: Set of subroutines to modify the testcode
2022
use ompts_parserFunctions;
2123

0 commit comments

Comments
 (0)