Patchwork [Documentation,1/2] scripts/output-machine-list: Change sort keywork

login
register
mail settings
Submitter Daiane Angolini
Date March 25, 2014, 7:17 p.m.
Message ID <1395775051-22340-2-git-send-email-daiane.angolini@freescale.com>
Download mbox | patch
Permalink /patch/69185/
State Changes Requested
Delegated to: Otavio Salvador
Headers show

Comments

Daiane Angolini - March 25, 2014, 7:17 p.m.
Change the keywork to be used on sort from 'name' to
'machine'.

It's easiest to find machine one is used to.

Signed-off-by: Daiane Angolini <daiane.angolini@freescale.com>
---
 scripts/output-machine-list | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/scripts/output-machine-list b/scripts/output-machine-list
index 906330e..32d141c 100755
--- a/scripts/output-machine-list
+++ b/scripts/output-machine-list
@@ -23,7 +23,7 @@  cat > $DST <<EOF
 =========================  ==================================================  ==========  ==========
 EOF
 
-sort -u -k 2 $TMP >> $DST
+sort -u -k 1 $TMP >> $DST
 
 cat >> $DST <<EOF
 =========================  ==================================================  ==========  ==========