From 34f7b35b70d74a0a16319570c8bcc88e2775dc09 Mon Sep 17 00:00:00 2001 From: Michal 'vorner' Vaner Date: Fri, 2 Jul 2010 09:02:01 +0200 Subject: [PATCH] Sort no longer support +1, using -k1 --- scripts/mailbot | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/mailbot b/scripts/mailbot index 256b161..f2eab76 100755 --- a/scripts/mailbot +++ b/scripts/mailbot @@ -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`; + print LOG `sort -k1 orig.db`; $? && error("Error sorting original ID database"); print LOG `$home/bin/ids_to_dbdump &1 >new.db.unsorted`; $? && error("Error parsing the patched pci.ids file"); - print LOG `sort +1 new.db`; + 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`; -- 2.39.2