diff options
-rw-r--r-- | eclass/portability.eclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/portability.eclass b/eclass/portability.eclass index c56f03fb8763..1402c0420cb0 100644 --- a/eclass/portability.eclass +++ b/eclass/portability.eclass @@ -67,8 +67,8 @@ seq() { # Screw it, do the output ourselves while :; do - [[ $max < $min && $step > 0 ]] && break - [[ $min < $max && $step < 0 ]] && break + [[ $max -lt $min && $step -gt 0 ]] && break + [[ $min -lt $max && $step -gt 0 ]] && break echo $min : $(( min += step )) done |