]> ruderich.org/simon Gitweb - blhc/blhc.git/commitdiff
Change !~ to not =~ for consistency.
authorSimon Ruderich <simon@ruderich.org>
Wed, 11 Apr 2012 15:38:33 +0000 (17:38 +0200)
committerSimon Ruderich <simon@ruderich.org>
Wed, 11 Apr 2012 15:38:33 +0000 (17:38 +0200)
bin/blhc

index 92ab3b442b1beae820aad9eb3988e3cfbb125795..98d82c20696f78bc0829faac138d61eef06f3828 100755 (executable)
--- 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;