tazwok rev 464 4.3

tazwok, check_for_incoming(): Fix generation of safe wok
author Antoine Bodin <gokhlayeh@slitaz.org>
date Fri Mar 25 18:58:49 2011 +0100 (2011-03-25)
parents ae0a39ba004a
children cdab17eb0dc9
files tazwok
line diff
     1.1 --- a/tazwok	Fri Mar 25 18:20:21 2011 +0100
     1.2 +++ b/tazwok	Fri Mar 25 18:58:49 2011 +0100
     1.3 @@ -2184,7 +2184,8 @@
     1.4  					rm -f $SOURCES_REPOSITORY/$previous_tarball
     1.5  			fi
     1.6  			[ "$save_wok" ] &&
     1.7 -			copy_cooking_stuff $INCOMING_REPOSITORY/wok $PACKAGE $PACKAGES_REPOSITORY/wok
     1.8 +			copy_cooking_stuff $INCOMING_REPOSITORY/wok $PACKAGE $PACKAGES_REPOSITORY/wok &&
     1.9 +			rm -r $INCOMING_REPOSITORY/wok/$PACKAGE
    1.10  	done
    1.11  
    1.12  	if [ "$save_wok" = tarball ]; then