]> mj.ucw.cz Git - pciids.git/commitdiff
Ignore changes in whitespace
authorMichal 'vorner' Vaner <vorner@ucw.cz>
Mon, 16 Jul 2012 16:04:08 +0000 (18:04 +0200)
committerMichal 'vorner' Vaner <vorner@ucw.cz>
Mon, 16 Jul 2012 16:04:08 +0000 (18:04 +0200)
scripts/mailbot

index f2eab76113cdb67bbb7ae74e1f5f128885114567..8119f92bba94de0daa8abda36d64409e3848bfa7 100755 (executable)
@@ -205,7 +205,7 @@ sub process
                        print LOG `sort -k1 <new.db.unsorted >new.db`;
                        $? && error("Error sorting the patched pci.ids file");
                        print LOG "Finding ID differences.\n";
-                       `diff -U0 new.db orig.db >diffs`;
+                       `diff -U0 -b new.db orig.db >diffs`;
                        if ($? > 256) { error("Diff failed. Why?"); }
                        elsif (!$?) { error("No ID changes encountered."); }
                        open(DIFF, "diffs") || error("Cannot open the diff");