Fix profiling to correctly use repo library
Change-Id: I86c55317d55b93ca4baa9f85b470e03efefb6104
diff --git a/xt/prof-conv-goe-tagged-1.pl b/xt/prof-conv-goe-tagged-1.pl
index 9ba0356..3cc54ad 100644
--- a/xt/prof-conv-goe-tagged-1.pl
+++ b/xt/prof-conv-goe-tagged-1.pl
@@ -1,6 +1,7 @@
#!/usr/bin/env perl
use strict;
use warnings;
+use FindBin;
use File::Basename 'dirname';
use File::Spec::Functions qw/catfile catdir rel2abs/;
@@ -8,6 +9,10 @@
# $ perl -d:NYTProf xt/prof-conv-goe-tagged-1.pl
# $ nytprofhtml --open
+BEGIN {
+ unshift @INC, "$FindBin::Bin/../lib";
+};
+
use KorAP::XML::Krill;
use KorAP::XML::Tokenizer;
my $path = catdir(dirname(__FILE__), '..','t','real', 'corpus','GOE-TAGGED','AGA','03828');