From: Simon Ruderich Date: Sat, 31 Mar 2012 13:19:18 +0000 (+0200) Subject: Add missing \b when checking for dpkg-dev. X-Git-Tag: 0.01~38 X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=002738b1c775343f96d4a8228529ba4257085fd3;p=blhc%2Fblhc.git Add missing \b when checking for dpkg-dev. --- 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;