tazwok rev 305
Trying to fix a bug into check_for_incoming
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Fri Feb 18 01:32:08 2011 +0100 (2011-02-18) |
parents | ce231b383e55 |
children | 24c8784710f7 |
files | tazwok |
line diff
1.1 --- a/tazwok Fri Feb 18 01:31:01 2011 +0100 1.2 +++ b/tazwok Fri Feb 18 01:32:08 2011 +0100 1.3 @@ -1910,7 +1910,7 @@ 1.4 return 1 1.5 fi 1.6 fi 1.7 - pkg="$(cut -f 1 -d '|' $INCOMING_REPOSITORY/packages.desc)" 1.8 + incomming_pkgs="$(cut -f 1 -d '|' $INCOMING_REPOSITORY/packages.desc)" 1.9 if ! [ "$forced" ]; then 1.10 cooklist=$PACKAGES_REPOSITORY/cooklist 1.11 gen_cook_list 1.12 @@ -1925,7 +1925,7 @@ 1.13 fi 1.14 report step "Moving incoming packages to main repository" 1.15 unset EXTRAVERSION 1.16 - for PACKAGE in $pkg; do 1.17 + for PACKAGE in $incomming_pkgs; do 1.18 prev_VERSION=$(get_pkg_version $PACKAGES_REPOSITORY) 1.19 VERSION=$(get_pkg_version $INCOMING_REPOSITORY) 1.20 remove_previous_package $PACKAGES_REPOSITORY