From 192655b9eb6dd25d8ffe68328a6a54c8987977a1 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Wed, 11 Apr 2012 17:38:33 +0200 Subject: [PATCH] Change !~ to not =~ for consistency. --- bin/blhc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/blhc b/bin/blhc index 92ab3b4..98d82c2 100755 --- a/bin/blhc +++ b/bin/blhc @@ -542,7 +542,7 @@ foreach my $file (@ARGV) { if ($option_buildd and index($line, 'Toolchain package versions: ') == 0) { require Dpkg::Version; - if ($line !~ /\bdpkg-dev_(\S+)/ + if (not $line =~ /\bdpkg-dev_(\S+)/ or Dpkg::Version::version_compare($1, '1.16.1') < 0) { $harden_format = 0; $harden_fortify = 0; -- 2.45.2