diff options
author | a1346054 | 2021-08-31 17:01:47 +0000 |
---|---|---|
committer | rfjakob | 2021-09-01 10:22:01 +0200 |
commit | c63f7e9f64ee394b3311edb7f36f56fd786d145a (patch) | |
tree | 84dec7ad0b4759532f622174c008e3aa645c5a29 /tests/len2elen.sh | |
parent | c505e73a13d8e2083b53c5c1af1f937b46665abd (diff) |
shell scripts: fix shellcheck warnings
Diffstat (limited to 'tests/len2elen.sh')
-rwxr-xr-x | tests/len2elen.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/len2elen.sh b/tests/len2elen.sh index 86f2119..3c8cb2a 100755 --- a/tests/len2elen.sh +++ b/tests/len2elen.sh @@ -20,10 +20,10 @@ fi rm -f b/* while [[ $LEN -le 255 ]]; do - touch b/$NAME || break + touch "b/$NAME" || break ELEN=$(ls a | wc -L) - echo $LEN $ELEN - rm b/$NAME + echo "$LEN $ELEN" + rm "b/$NAME" NAME="${NAME}x" LEN=${#NAME} done |