1
0
mirror of https://github.com/ryanoasis/nerd-fonts.git synced 2024-12-19 20:12:52 +02:00

Use single square bracket on if statement.

This commit is contained in:
hasecilu 2023-05-30 23:48:38 -06:00
parent 75960ab56d
commit a260711d46
No known key found for this signature in database
GPG Key ID: 58CDB5914C0F3F40

View File

@ -38,7 +38,7 @@ function print-decimal-unicode-range() {
local leftoverSpaces=$((wrapAt - (originalSequenceLength % wrapAt)))
# add fillers to array to maintain table:
if [[ "$leftoverSpaces" -lt "$wrapAt" ]]; then
if [ "$leftoverSpaces" -lt "$wrapAt" ]; then
for _ in $(seq 1 $leftoverSpaces); do
originalSequence+=(0)
done