Package: libtk-pod-perl / 0.9943-1

autopkgtest.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Description: adjust script path when run under autopkgtest
Origin: vendor
Forwarded: not-needed
Author: gregor herrmann <gregoa@debian.org>
Last-Update: 2016-02-14

--- a/t/cmdline.t
+++ b/t/cmdline.t
@@ -37,8 +37,9 @@
 my $DEBUG = 0;
 
 my $blib   = File::Spec->rel2abs("$FindBin::RealBin/../blib");
-my $script = "$blib/script/tkpod";
-my $tkmore_script = "$blib/script/tkmore";
+my $dir    = $ENV{ADTTMP} ? '/usr/bin' : "$blib/script";
+my $script = "$dir/tkpod";
+my $tkmore_script = "$dir/tkmore";
 
 my $batch_mode = defined $ENV{BATCH} ? $ENV{BATCH} : 1;