# HG changeset patch # User Antoine Bodin # Date 1297989128 -3600 # Node ID 434b101698f0816833d70843c3d8ef36677a163d # Parent ce231b383e552dc16794399742bb2e1c94c78e67 Trying to fix a bug into check_for_incoming diff -r ce231b383e55 -r 434b101698f0 tazwok --- a/tazwok Fri Feb 18 01:31:01 2011 +0100 +++ b/tazwok Fri Feb 18 01:32:08 2011 +0100 @@ -1910,7 +1910,7 @@ return 1 fi fi - pkg="$(cut -f 1 -d '|' $INCOMING_REPOSITORY/packages.desc)" + incomming_pkgs="$(cut -f 1 -d '|' $INCOMING_REPOSITORY/packages.desc)" if ! [ "$forced" ]; then cooklist=$PACKAGES_REPOSITORY/cooklist gen_cook_list @@ -1925,7 +1925,7 @@ fi report step "Moving incoming packages to main repository" unset EXTRAVERSION - for PACKAGE in $pkg; do + for PACKAGE in $incomming_pkgs; do prev_VERSION=$(get_pkg_version $PACKAGES_REPOSITORY) VERSION=$(get_pkg_version $INCOMING_REPOSITORY) remove_previous_package $PACKAGES_REPOSITORY