Denis 'GNUtoo' Carikli
7bf153a207
Without that fix, running 'shellcheck -x build' produces the following errors/warnings: In update line 81: case "${option}" in ^-- SC1009 (info): The mentioned syntax error was in this case expression. In update line 82: list) ^-- SC1073 (error): Couldn't parse this case item. Fix to allow more checks. In update line 92: all) ^-- SC1072 (error): Fix any mentioned problems and try again. ^-- SC1074 (error): Did you forget the ;; after the previous case item? After fixing these and rerunning 'shellcheck -x build', we then have the following errors/warnings: In update line 23: [ "x${DEBUG+set}" = 'xset' ] && set -v ^-------------^ SC2268 (style): Avoid x-prefix in comparisons as it no longer serves a purpose. In update line 32: ls -d resources/packages/*/update/ | \ ^-- SC2012 (info): Use find instead of ls to better handle non-alphanumeric filenames. In update line 40: ls -d resources/packages/"${package}"/update/* | \ ^-- SC2012 (info): Use find instead of ls to better handle non-alphanumeric filenames. In update line 95: resources/packages/"${package}"/update/"${option}" $@ ^-- SC2068 (error): Double quote array expansions to avoid re-splitting elements. In update line 102: "${pkg_dir}"/update/"${option}" $@ ^-- SC2068 (error): Double quote array expansions to avoid re-splitting elements. so we fix them as well. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> Acked-by: Adrien 'neox' Bourmault <neox@gnu.org> |
||
---|---|---|
.. | ||
distclean | ||
lint | ||
u-boot-libre | ||
u-boot-libre.sha512 |