summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2010-02-04 10:18:50 +0100
committerKoen Kooi <koen@openembedded.org>2010-02-04 10:19:33 +0100
commite7c7ceec58795f5561fcc214e7e1c8d3f2883281 (patch)
tree2788a07214af433f8216042b071a1189151d8116
parent1e915ef1635504e1b1756f8cc21e99244faf61ee (diff)
angstrom feed sorter: cope with packages like kernel-module-twofish-i586_2.6.32-r5.5_eee701.ipk
-rwxr-xr-xcontrib/angstrom/sort.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/angstrom/sort.sh b/contrib/angstrom/sort.sh
index 97ef49af39..88f0fb92f9 100755
--- a/contrib/angstrom/sort.sh
+++ b/contrib/angstrom/sort.sh
@@ -95,7 +95,7 @@ fi
echo "Sorting $arch"
mkdir -p ../$archdir/base/ || true
-for i in `find . -name "*.ipk"| grep $arch` ; do mv $i ../$archdir/base/ ; done
+for i in `find . -name "*_$arch.ipk"` ; do mv $i ../$archdir/base/ ; done
for machine in $machines ; do
for i in `find . -name "*_$machine.ipk"| grep $machine` ; do mkdir -p ../$archdir/machine/$machine || true ;mv $i ../$archdir/machine/$machine ; done
done