diff --git a/bin/buildrpms b/bin/buildrpms index b5e1bbd..7167712 100644 --- a/bin/buildrpms +++ b/bin/buildrpms @@ -205,7 +205,7 @@ else fi k=0 kMax="$(printf '%s' "$List" | wc -l)" -while [ $k -lt $kMax ] +while [ $k -le $kMax ] do k=$((k+1)) i="$(printf '%s' "$List" | sed -n "${k}P")" # Pick k-th entry