From: Simon Ruderich Date: Wed, 11 Apr 2012 15:38:33 +0000 (+0200) Subject: Change !~ to not =~ for consistency. X-Git-Tag: 0.01~8 X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=192655b9eb6dd25d8ffe68328a6a54c8987977a1;p=blhc%2Fblhc.git Change !~ to not =~ for consistency. --- 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;