From: Michal 'vorner' Vaner Date: Mon, 16 Jul 2012 16:04:08 +0000 (+0200) Subject: Ignore changes in whitespace X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=065dbc4aef593f74ae8306acf313c85d92829f10;p=pciids.git Ignore changes in whitespace --- diff --git a/scripts/mailbot b/scripts/mailbot index f2eab76..8119f92 100755 --- a/scripts/mailbot +++ b/scripts/mailbot @@ -205,7 +205,7 @@ sub process print LOG `sort -k1 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");