Skip to content
Snippets Groups Projects
Unverified Commit 739e7ddd authored by Oliver Smith's avatar Oliver Smith
Browse files

distfile-check: add shellcheck ignores

Looks like there's a new shellscript version that finds more errors than
before. The errors are non-POSIX syntax that do work with busybox sh,
just ignore it for now since I want to fix another script.
parent 0fd99aee
Branches
No related tags found
No related merge requests found
......@@ -19,8 +19,10 @@ sha512sums=""
. "$apkbuild_path"
distfile_hash() {
# shellcheck disable=SC3043
local distfile="$1"
# shellcheck disable=SC3003
IFS=$'\n'
for line in $sha512sums; do
case "$line" in
......@@ -42,7 +44,9 @@ is_remote() {
return 1
}
filename_from_uri() {
# shellcheck disable=SC3043
local uri="$1"
# shellcheck disable=SC3043
local filename="${uri##*/}" # $(basename $uri)
case "$uri" in
*::*) filename=${uri%%::*};;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment