summaryrefslogtreecommitdiff
path: root/devel/p5-Geo-ShapeFile/files/patch-t_main__tests.t
blob: 5e6b323e972e229a864c7c0082da4d69032acaa8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- t/main_tests.t.orig	2016-06-20 14:43:13 UTC
+++ t/main_tests.t
@@ -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;