From 46bb5c7e00295787af19df26e81f933c08d0c548 Mon Sep 17 00:00:00 2001 From: Friedrich Beckmann Date: Mon, 10 Oct 2016 12:55:01 +0200 Subject: [PATCH] perl - added current directory path to calls The perl INC path in debian does not include the current directory anymore. Therefore I added the current directory path at the places where a module is called and it is assumed that . is part of INC. See: https://lwn.net/Articles/698853/ --- perl-module/Makefile.PL | 2 +- tests/data/data-in.at | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/perl-module/Makefile.PL b/perl-module/Makefile.PL index a315abbee2..7efaa57bea 100644 --- a/perl-module/Makefile.PL +++ b/perl-module/Makefile.PL @@ -4,7 +4,7 @@ use ExtUtils::MakeMaker; # the contents of the Makefile that is written. -do 'pspp-module-config' || do { +do './pspp-module-config' || do { my $build = prompt ("Enter the location of the build directory of the configured pspp source:", "" ); my $src = $top_srcdir; diff --git a/tests/data/data-in.at b/tests/data/data-in.at index cfe965c514..0c3a183791 100644 --- a/tests/data/data-in.at +++ b/tests/data/data-in.at @@ -25,7 +25,7 @@ EOF #! /usr/bin/perl use strict; use warnings; -do 'my-rand.pl'; +do './my-rand.pl'; my_rand (1) foreach 1...10000; our $seed; die $seed if $seed != 1043618065; @@ -39,7 +39,7 @@ date_in () { use strict; use warnings; -do 'my-rand.pl'; +do './my-rand.pl'; my ($fmt_name, @templates) = @ARGV; @@ -198,7 +198,7 @@ time_in () { use strict; use warnings; -do 'my-rand.pl'; +do './my-rand.pl'; my ($skip, $fmt_name, @templates) = @ARGV; @@ -287,7 +287,7 @@ use POSIX; use strict; use warnings; -do 'my-rand.pl'; +do './my-rand.pl'; for my $number (0, 1, .5, .015625, 123) { my ($base_exp) = floor ($number ? log10 ($number) : 0); -- 2.30.2