From 5362cf07de284eccc02dc38b707be42ec6970c9b Mon Sep 17 00:00:00 2001 From: Dmitry Eremin-Solenikov Date: Thu, 7 Oct 2010 13:34:15 +0400 Subject: [PATCH] angstrom feed sorter: replace find + grep with just find This removes any requirements for the order of archiectures to be sorted. Signed-off-by: Dmitry Eremin-Solenikov --- contrib/angstrom/sort.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/angstrom/sort.sh b/contrib/angstrom/sort.sh index 3364ac3292..1d3c622f94 100755 --- a/contrib/angstrom/sort.sh +++ b/contrib/angstrom/sort.sh @@ -108,7 +108,7 @@ case "$arch" in machines="colinux" ;; esac -if [ $(find . -name "*.ipk"| grep $arch | wc -l) -gt 0 ] ; then +if [ $(find . -name "*_$arch.ipk"| wc -l) -gt 0 ] ; then export SORTFEED=1 else export SORTFEED=0 -- 2.39.5