diff options
author | Koen Kooi <koen@openembedded.org> | 2009-02-09 10:18:09 +0100 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2009-02-09 10:18:09 +0100 |
commit | ebc8f9b49c018287f83e9092aaebc4f3b45aad63 (patch) | |
tree | 296fee8d78893f12b404c3eb93bce8fb2db7f596 /contrib | |
parent | 414f12a48b7da397b2064b4b2bccac52e1e7a387 (diff) |
angstrom feed sorter: move feed browser updating and source stripping out of the loop
Diffstat (limited to 'contrib')
-rwxr-xr-x | contrib/angstrom/sort.sh | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/contrib/angstrom/sort.sh b/contrib/angstrom/sort.sh index d624000d17..21731668ac 100755 --- a/contrib/angstrom/sort.sh +++ b/contrib/angstrom/sort.sh @@ -144,11 +144,6 @@ for i in ../* ; do echo " DONE" cd ${BPWD} -( cd ~/website/repo-updater ; php update.php ; rm ../repo/feeds.db* ; cp feeds.db* ../repo ) - -echo -n "Stripping source lines from Package files" -for i in `find . -name Packages` ; do grep -v ^Source: $i|gzip -c9>$i.gz ;gunzip -c $i.gz>$i ; touch $i.sig ; done -echo " DONE" } echo "Processing 'all' feed" @@ -164,3 +159,10 @@ if [ "$1" != "--skip-sorted-list" ]; then for i in $(find ../ -name "*.ipk"| grep -v unsorted) ; do basename $i ; done > files-sorted fi +( cd ~/website/repo-updater ; php update.php ; rm ../repo/feeds.db* ; cp feeds.db* ../repo ) + +echo -n "Stripping source lines from Package files" +for i in `find .. -name Packages` ; do grep -v ^Source: $i|gzip -c9>$i.gz ;gunzip -c $i.gz>$i ; touch $i.sig ; done +echo " DONE" + + |