tazwok rev 291

Fix: broke a loop when using gen-cooklist & speed-up a little things.
author Antoine Bodin <gokhlayeh@slitaz.org>
date Tue Feb 15 03:01:58 2011 +0100 (2011-02-15)
parents a7fb9663919e
children a0e786e28a24
files tazwok
line diff
     1.1 --- a/tazwok	Tue Feb 15 02:31:35 2011 +0100
     1.2 +++ b/tazwok	Tue Feb 15 03:01:58 2011 +0100
     1.3 @@ -1648,7 +1648,7 @@
     1.4  	[ "$with_dev" ] && filter=with_dev
     1.5  	[ "$with_wanted" ] && filter=with_wanted
     1.6  	if [ "$filter" ]; then
     1.7 -		pkg_list=$(echo $pkg_list | $filter)
     1.8 +		pkg_list=$(echo $pkg_list | $filter | sort -u)
     1.9  		scan_pkg()
    1.10  		{
    1.11  			look_for_$look_for | $filter