File: autopkgtest.patch

package info (click to toggle)
libcpan-sqlite-perl 0.211-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 680 kB
  • ctags: 190
  • sloc: perl: 7,305; makefile: 5
file content (19 lines) | stat: -rw-r--r-- 403 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Description: test installed script when running under autopkgtest
Origin: vendor
Forwarded: not-needed
Author: gregor herrmann <gregoa@debian.org>
Last-Update: 2015-07-30

--- a/t/00-compile.t
+++ b/t/00-compile.t
@@ -22,8 +22,9 @@
     'CPAN/SQLite/Util.pm'
 );
 
+my $bindir = $ENV{ADTTMP} ? '/usr/bin' : 'bin';
 my @scripts = (
-    'bin/cpandb'
+    "$bindir/cpandb"
 );
 
 # no fake home requested