]> mj.ucw.cz Git - pciids.git/commitdiff
Sort no longer support +1, using -k1
authorMichal 'vorner' Vaner <vorner@ucw.cz>
Fri, 2 Jul 2010 07:02:01 +0000 (09:02 +0200)
committerMichal 'vorner' Vaner <vorner@ucw.cz>
Fri, 2 Jul 2010 07:02:01 +0000 (09:02 +0200)
scripts/mailbot

index 256b161652728548bafda4e49c0a391eb2a41f42..f2eab76113cdb67bbb7ae74e1f5f128885114567 100755 (executable)
@@ -198,11 +198,11 @@ sub process
                        print LOG "Parsing patched file.\n";
                        print LOG `$home/bin/ids_to_dbdump <$orig 2>&1 >orig.db.unsorted`;
                        $? && error("Error parsing original ID database");
-                       print LOG `sort +1 <orig.db.unsorted >orig.db`;
+                       print LOG `sort -k1 <orig.db.unsorted >orig.db`;
                        $? && error("Error sorting original ID database");
                        print LOG `$home/bin/ids_to_dbdump <pci.ids 2>&1 >new.db.unsorted`;
                        $? && error("Error parsing the patched pci.ids file");
-                       print LOG `sort +1 <new.db.unsorted >new.db`;
+                       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`;