]> ruderich.org/simon Gitweb - blhc/blhc.git/commitdiff
Add missing \b when checking for dpkg-dev.
authorSimon Ruderich <simon@ruderich.org>
Sat, 31 Mar 2012 13:19:18 +0000 (15:19 +0200)
committerSimon Ruderich <simon@ruderich.org>
Sat, 31 Mar 2012 13:19:18 +0000 (15:19 +0200)
bin/blhc

index 5bbfe73255836fd23bba513edaf9f2af1734ba73..028dfbe53190d67f1a70768098fba0c3bfb33531 100755 (executable)
--- 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;