tazwok rev 77

fix check working dir
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jul 15 19:02:44 2008 +0000 (2008-07-15)
parents 7133ee44423b
children 10475d2dfa37
files tazwok
line diff
     1.1 --- a/tazwok	Tue Jul 15 13:07:51 2008 +0000
     1.2 +++ b/tazwok	Tue Jul 15 19:02:44 2008 +0000
     1.3 @@ -608,7 +608,8 @@
     1.4  		echo ""
     1.5  		echo -e "\033[1mWok and packages checking\033[0m
     1.6  ================================================================================"
     1.7 -		for pkg in $WOK/*
     1.8 +		cd $WOK
     1.9 +		for pkg in $(ls)
    1.10  		do
    1.11  			[ -f $pkg/receipt ] || continue
    1.12  			PACKAGE=""