summaryrefslogtreecommitdiffstats
path: root/t
diff options
context:
space:
mode:
Diffstat (limited to 't')
-rw-r--r--t/02create_pkgs.t3
1 files changed, 3 insertions, 0 deletions
diff --git a/t/02create_pkgs.t b/t/02create_pkgs.t
index d585209f..65eec471 100644
--- a/t/02create_pkgs.t
+++ b/t/02create_pkgs.t
@@ -9,6 +9,9 @@ use Cwd;
set_path();
+# fix bundled genhdlist2 & co to use the right perl on CPAN smokers:
+system($^X, '-pi', '-e', qq(s@^#!/usr/bin/perl.*@#!$^X@), $_) foreach qw(gendistrib genhdlist2);
+
my $is_bsd = $Config{archname} =~ /bsd/;
warn ">> RPM version is: ", `LC_ALL=C rpm --version`, "\n";