diff options
author | Jari Aalto <jari.aalto@cante.net> | 2004-07-27 13:29:18 +0000 |
---|---|---|
committer | Jari Aalto <jari.aalto@cante.net> | 2009-09-12 16:46:56 +0000 |
commit | b80f6443b6b7b620c7272664c66ecb0b120a0998 (patch) | |
tree | 9f71c98d8fe8fa0f41d95e1eb4227f32a09d43ca /examples/scripts.v2/repeat | |
parent | 7117c2d221b2aed4ede8600f6a36b7c1454b4f55 (diff) | |
download | android_external_bash-b80f6443b6b7b620c7272664c66ecb0b120a0998.tar.gz android_external_bash-b80f6443b6b7b620c7272664c66ecb0b120a0998.tar.bz2 android_external_bash-b80f6443b6b7b620c7272664c66ecb0b120a0998.zip |
Imported from ../bash-3.0.tar.gz.
Diffstat (limited to 'examples/scripts.v2/repeat')
-rw-r--r-- | examples/scripts.v2/repeat | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/scripts.v2/repeat b/examples/scripts.v2/repeat index 315d36e..b6fccac 100644 --- a/examples/scripts.v2/repeat +++ b/examples/scripts.v2/repeat @@ -103,7 +103,7 @@ esac shift -[ -z "$end" -o $count -le "$end" ] && increment=1 || increment=-1 +[ -z "$end" ] && [ $count -le "$end" ] && increment=1 || increment=-1 istrue $verbose && echo "start=$count end=$end" 1>&2 |