Package: libtest-mojibake-perl / 1.3-1

autopkgtest-compile.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Description: Use the installed scripts in t/00-compile during autopkgtest
Author: Carnë Draug <carandraug+dev@gmail.com>
Last-Update: Fri 27 Jan 17:24:31 GMT 2017

Index: libtest-mojibake-perl/t/00-compile.t
===================================================================
--- libtest-mojibake-perl.orig/t/00-compile.t
+++ libtest-mojibake-perl/t/00-compile.t
@@ -12,8 +12,9 @@ my @module_files = (
     'Test/Mojibake.pm'
 );
 
+my $bindir = $ENV{ADTTMP} ? '/usr/bin' : 'bin';
 my @scripts = (
-    'bin/scan_mojibake'
+    "$bindir/scan_mojibake"
 );
 
 # no fake home requested