diff options
author | Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> | 2010-06-15 16:53:45 +0400 |
---|---|---|
committer | Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> | 2010-06-15 18:38:24 +0400 |
commit | 9f4835017f853c45bd0945a84276ae95a572b79f (patch) | |
tree | 3432cfed078faebd781bc881d0f4b7bf04a8a47c /contrib | |
parent | 0c38732598cb6525f1fd487fe966e67355179e7e (diff) |
angstrom feed sorter: always call ipkg-make-index from ${ipkg_tools_path}
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Diffstat (limited to 'contrib')
-rwxr-xr-x | contrib/angstrom/sort.sh | 7 |
1 files changed, 4 insertions, 3 deletions
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 |