[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[OSSTEST PATCH 60/82] runvar access: Use runvar_glob for dmrestrict runvar search



From: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>

Signed-off-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
---
 Osstest/Debian.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Osstest/Debian.pm b/Osstest/Debian.pm
index 3fa26e45..ae3c1d33 100644
--- a/Osstest/Debian.pm
+++ b/Osstest/Debian.pm
@@ -1032,7 +1032,7 @@ END
     # security.d.o CDN seems unreliable right now
     # and jessie-updates is no more
 
-    if (grep { m/_dmrestrict$/ && $r{$_} } keys %r and
+    if (grep { $r{$_} } runvar_glob('*_dmrestrict') and
        $suite =~ m/stretch/) {
        preseed_backports_packages($ho, $sfx, \%xopts, $suite,
                                   qw(chiark-scripts));
-- 
2.20.1




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.