From 9f4835017f853c45bd0945a84276ae95a572b79f Mon Sep 17 00:00:00 2001 From: Dmitry Eremin-Solenikov Date: Tue, 15 Jun 2010 16:53:45 +0400 Subject: angstrom feed sorter: always call ipkg-make-index from ${ipkg_tools_path} Signed-off-by: Dmitry Eremin-Solenikov --- contrib/angstrom/sort.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'contrib') diff --git a/contrib/angstrom/sort.sh b/contrib/angstrom/sort.sh index c50f97122f..a6bd36ecb9 100755 --- a/contrib/angstrom/sort.sh +++ b/contrib/angstrom/sort.sh @@ -3,6 +3,8 @@ # Angstrom feed sorting script # This must be run in unsorted/ directory +ipkg_tools_path="/home/angstrom/bin" + if [ $(basename $PWD) != "unsorted" ] ; then echo "Not in feed dir! Exiting" exit 1 @@ -121,7 +123,6 @@ for i in `find . -name "*_$arch.ipk"` ; do mv $i ../$archdir/base/ ; done } do_index() { -ipkg_tools_path="/home/angstrom/bin" echo "Processing $(basename $PWD) packages...." BPWD=`pwd` @@ -178,10 +179,10 @@ cd ${BPWD} echo "Processing 'all' feed" for i in `find . -name "*.ipk"| grep _all` ; do mkdir -p ../all/ || true ;mv $i ../all/ ; done - (mkdir -p ../all ; cd ../all && ipkg-make-index -p Packages -m . >& /dev/null ; touch Packages.sig ) + (mkdir -p ../all ; cd ../all && ${ipkg_tools_path}/ipkg-make-index -p Packages -m . >& /dev/null ; touch Packages.sig ) mkdir -p ../sdk ; mv *sdk.ipk ../sdk/ || true - (mkdir -p ../sdk ; cd ../sdk && ipkg-make-index -p Packages -m . >& /dev/null ; touch Packages.sig ) + (mkdir -p ../sdk ; cd ../sdk && ${ipkg_tools_path}/ipkg-make-index -p Packages -m . >& /dev/null ; touch Packages.sig ) for arch in 486sx armv4t armv4 armv5teb armv5te armv6-novfp armv6 armv7a avr32 bfin geode i486 i586 i686 iwmmxt mips mipsel powerpc ppc405 ppc440e ppc603e ppce300c2 ppce300c3 ppce500v2 ppce500 ppce600 sh4 sparc x86_64 x86; do do_sort -- cgit v1.2.3