Skip to content

Commit

Permalink
src/linkcheck.sh: remove unused code (shellcheck)
Browse files Browse the repository at this point in the history
  • Loading branch information
austin987 committed Feb 11, 2023
1 parent 8a093f6 commit a49d7f8
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/linkcheck.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,16 +41,6 @@ fi
datadir="${TOP}/output/links.d"
mkdir -p "${datadir}"

# ftp.microsoft.com resolves to two different IP addresses, one of which is broken
ftp_microsoft_com=64.4.17.176

w_download() {
# shellcheck disable=SC2016
url="$(echo "$1" | sed -e 's,$ftp_microsoft_com,'${ftp_microsoft_com}',;s, ,%20,g')"
urlkey="$(echo "${url}" | tr / _)"
echo "${url}" > "${datadir}/${urlkey}.url"
}

# Extract list of URLs from winetricks
extract_all() {
# w_linkcheck_ignore=1 is a stupid hack to tell linkcheck.sh to ignore a URL (e.g., because it contains a variable)
Expand Down

0 comments on commit a49d7f8

Please sign in to comment.