]> ruderich.org/simon Gitweb - blhc/blhc.git/blobdiff - bin/blhc
Change !~ to not =~ for consistency.
[blhc/blhc.git] / bin / blhc
index 25f2953aa2e3fc0d53866f347849e7ed20489e1c..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;
@@ -643,7 +643,7 @@ foreach my $file (@ARGV) {
                 $complete_line .= ' ' . $line;
             }
             # Line continuation, line ends with "\".
-            if ($line =~ /\\\s*$/) {
+            if ($line =~ /\\$/) {
                 $continuation = 1;
                 # Start line continuation.
                 if (not defined $complete_line) {