Skip to content

Commit

Permalink
Scoped shellcheck exceptions
Browse files Browse the repository at this point in the history
  • Loading branch information
Root-Core committed Sep 19, 2024
1 parent 44c9ba9 commit 8bb26b2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/linkcheck.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/bin/sh
# shellcheck disable=SC2317

# Link checker for winetricks.
#
Expand Down Expand Up @@ -44,11 +43,13 @@ datadir="${TOP}/output/links.d"
mkdir -p "${datadir}"

# This is used by url-script-fragment.tmp below in extract_all()
# shellcheck disable=SC2317
w_download() {
url="${1}"
urlkey="$(echo "${url}" | tr / _)"
echo "${url}" > "${datadir}/${urlkey}.url"
}
# shellcheck disable=SC2317
w_download_to() {
shift
w_download "$@"
Expand Down

0 comments on commit 8bb26b2

Please sign in to comment.