Denis 'GNUtoo' Carikli
22cc82e7d3
Without that fix, shellcheck -x complains a lot: In build.sh line 53: mkdir -p "$(dirname ${dst_path})" ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting. In build.sh line 82: git -C "${dst_path}" am $(realpath ${patch}) ^------------------^ SC2046 (warning): Quote this to prevent word splitting. git -C "${dst_path}" am $(realpath ${patch}) ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. In build.sh line 112: opt="$(eval echo \$$i)" ^-- SC2086 (info): Double quote to prevent globbing and word splitting. In build.sh line 127: untitled_path="$(eval echo \$$(expr $i + 1))" ^------------^ SC2046 (warning): Quote this to prevent word splitting. untitled_path="$(eval echo \$$(expr $i + 1))" ^--^ SC2003 (style): expr is antiquated. Consider rewriting this using $((..)), ${} or [[ ]]. untitled_path="$(eval echo \$$(expr $i + 1))" ^-- SC2086 (info): Double quote to prevent globbing and word splitting. In build.sh line 128: i="$(expr "$i" + 1)" ^--^ SC2003 (style): expr is antiquated. Consider rewriting this using $((..)), ${} or [[ ]]. In build.sh line 136: i="$(expr "$i" + 1)" ^--^ SC2003 (style): expr is antiquated. Consider rewriting this using $((..)), ${} or [[ ]]. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> |
||
---|---|---|
.. | ||
distclean | ||
lint | ||
targets | ||
u-boot-libre | ||
u-boot-libre.sha512 |