From 002738b1c775343f96d4a8228529ba4257085fd3 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Sat, 31 Mar 2012 15:19:18 +0200 Subject: [PATCH] Add missing \b when checking for dpkg-dev. --- bin/blhc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/blhc b/bin/blhc index 5bbfe73..028dfbe 100755 --- a/bin/blhc +++ b/bin/blhc @@ -492,7 +492,7 @@ FILE: foreach my $file (@ARGV) { # flags are not checked. if ($option_buildd and $line =~ /^Toolchain package versions: /) { require Dpkg::Version; - if ($line !~ /dpkg-dev_(\S+)/ + if ($line !~ /\bdpkg-dev_(\S+)/ or Dpkg::Version::version_compare($1, '1.16.1') < 0) { $harden_format = 0; $harden_fortify = 0; -- 2.45.2