Sync 4.next from master
[users/heiko/exim.git] / test / lib / Exim / Runtest.pm
index 8d22544bfdcdd7de26d5a0d8e2ce688e82f22619..537cea1e9513df139f68515be3261d18810c574e 100644 (file)
@@ -103,6 +103,7 @@ sub exim_binary {
             my $os = `$_/scripts/os-type`;
             my $arch = `$_/scripts/arch-type`;
             chomp($os, $arch);
+            ($ENV{build} ? "$_/build-$ENV{build}" : ()),
             "$_/build-$os-$arch" . ($ENV{EXIM_BUILD_SUFFIX} ? ".$ENV{EXIM_BUILD_SUFFIX}" : '');
         } @candidates;