mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-19 21:58:04 +00:00
8f0d52d8c4
Fixes following shellcheck's recommendations:
In scripts/download-check-artifact.sh line 24:
exit $1
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
In scripts/download-check-artifact.sh line 53:
local sum="$(shasum -a 256 "$image_file")";
^-^ SC2155 (warning): Declare and assign separately to avoid masking return values.
In scripts/download-check-artifact.sh line 72:
cd "/tmp/verify.$$"
^-----------------^ SC2164 (warning): Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
In scripts/download-check-artifact.sh line 114:
printf "Keyserver to use? [$keyserver_url] > "
^-- SC2059 (info): Don't use variables in the printf format string. Use printf '..%s..' "$foo".
In scripts/download-check-artifact.sh line 115:
read url; case "${url:-$keyserver_url}" in
^--^ SC2162 (info): read without -r will mangle backslashes.
While at it make it clear, that it is possible to download/check any
build artifacts like even SDK or ImageBuilder.
Link: https://github.com/openwrt/openwrt/pull/16871
(cherry picked from commit
|
||
---|---|---|
.. | ||
config | ||
flashing | ||
belkin-header.py | ||
brcmImage.pl | ||
bundle-libraries.sh | ||
cameo-imghdr.py | ||
cameo-tag.py | ||
cfe-bin-header.py | ||
cfe-partition-tag.py | ||
cfe-wfi-tag.py | ||
check-toolchain-clean.sh | ||
checkpatch.pl | ||
clean-package.sh | ||
cleanfile | ||
cleanpatch | ||
combined-ext-image.sh | ||
combined-image.sh | ||
command_all.sh | ||
config.guess | ||
config.rpath | ||
config.sub | ||
const_structs.checkpatch | ||
deptest.sh | ||
diffconfig.sh | ||
dl_cleanup.py | ||
dl_github_archive.py | ||
download-check-artifact.sh | ||
download.pl | ||
dump-target-info.pl | ||
env | ||
ext-toolchain.sh | ||
ext-tools.sh | ||
feeds | ||
fixup-makefile.pl | ||
functions.sh | ||
gen_image_generic.sh | ||
gen-dependencies.sh | ||
get_source_date_epoch.sh | ||
getver.sh | ||
ipkg-build | ||
ipkg-make-index.sh | ||
ipkg-remove | ||
json_add_image_info.py | ||
json_overview_image_info.py | ||
kconfig-reorder.sh | ||
kconfig.pl | ||
kernel_bump.sh | ||
linksys-image.sh | ||
make-ipkg-dir.sh | ||
md5sum | ||
metadata.pm | ||
mkhash.c | ||
mkits-qsdk-ipq-image.sh | ||
mkits-zyxel-fit-filogic.sh | ||
mkits-zyxel-fit.sh | ||
mkits.sh | ||
moxa-encode-fw.py | ||
netgear-encrypted-factory.py | ||
noop.sh | ||
om-fwupgradecfg-gen.sh | ||
package-metadata.pl | ||
pad_image | ||
patch-kernel.sh | ||
patch-specs.sh | ||
portable_date.sh | ||
projectsmirrors.json | ||
qemustart | ||
redboot-script.pl | ||
relink-lib.sh | ||
remote-gdb | ||
rstrip.sh | ||
sercomm-crypto.py | ||
sercomm-kernel-header.py | ||
sercomm-partition-tag.py | ||
sercomm-payload.py | ||
sercomm-pid.py | ||
sign_images.sh | ||
size_compare.sh | ||
slugimage.pl | ||
spelling.txt | ||
srecimage.pl | ||
strip-kmod.sh | ||
symlink-tree.sh | ||
sysupgrade-tar.sh | ||
target-metadata.pl | ||
time.pl | ||
timestamp.pl | ||
ubinize-image.sh | ||
xxdi.pl |