2
0
mirror of https://github.com/bpkg/bpkg synced 2024-11-04 06:00:18 +00:00

Fix all Shellcheck SC2219 violations.

This commit is contained in:
Ben Peachey 2021-01-09 21:55:23 +01:00 committed by Joseph Werle
parent d30daebb1b
commit ef99e9550d
2 changed files with 3 additions and 3 deletions

View File

@ -137,7 +137,7 @@ csv () {
SCRIPTS="${SCRIPTS//\'/}"
# shellcheck disable=SC2086
SCRIPTS=($(wrap ${SCRIPTS}))
let len=${#SCRIPTS[@]}
(( len=${#SCRIPTS[@]} ))
for (( i = 0; i < len; i++ )); do
word=${SCRIPTS[$i]}
if (( i + 1 != len )); then

View File

@ -4,8 +4,8 @@
VERSION="0.0.1"
## coords
let _x=0
let _y=0
(( _x=0 ))
(( _y=0 ))
## output error to stderr
error () {