summaryrefslogtreecommitdiff
path: root/devel/p5-Geo-ShapeFile/files/patch-t_main__tests.t
blob: cc100bfbb574dab0578a1f6e88a4e527bf2992f6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- t/main_tests.t.orig	2015-10-16 16:34:06.906634577 +0200
+++ t/main_tests.t	2015-10-16 16:34:56.598631573 +0200
@@ -3,7 +3,10 @@
 use Test::More;
 use strict;
 use warnings;
-use rlib '../lib', './lib';
+#use rlib '../lib', './lib';
+use FindBin;
+use lib "$FindBin::Bin/lib";
+use lib "$FindBin::Bin/../lib";
 
 use Geo::ShapeFile;
 use Geo::ShapeFile::Shape;