mirror of https://github.com/linkerd/linkerd2.git
Use curl (#4162)
We use curl for fetching remote files in our `bin` scripts. Replace the use of `wget` with `curl` in `bin/shellcheck` for consistency. Signed-off-by: Alex Leong <alex@buoyant.io>
This commit is contained in:
parent
c8dd369afd
commit
df59448046
|
@ -22,7 +22,7 @@ if [ ! -f "$scbin" ]; then
|
|||
fi
|
||||
|
||||
mkdir -p "$targetbin"
|
||||
wget -qO- "https://storage.googleapis.com/shellcheck/shellcheck-${scversion?}.$file" | tar -OxJv "shellcheck-${scversion}/shellcheck" > "$scbin"
|
||||
curl -sLf "https://storage.googleapis.com/shellcheck/shellcheck-${scversion?}.$file" | tar -OxJv "shellcheck-${scversion}/shellcheck" > "$scbin"
|
||||
chmod +x "$scbin"
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue