Skip to content

Commit

Permalink
chore(installer): Download binary to /tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
timo-reymann authored May 9, 2022
1 parent ce7b0c5 commit 176ea69
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions installer
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,11 @@ _ok() {
_ok

echo -n "Download binary for ${latest_version} ... "
curl -LsS https://github.com/timo-reymann/deterministic-zip/releases/download/${latest_version}/${artifact} -o deterministic-zip
curl -LsS https://github.com/timo-reymann/deterministic-zip/releases/download/${latest_version}/${artifact} -o /tmp/deterministic-zip
_ok

echo -n "Installing to /usr/local/bin ..."
$SUDO mv deterministic-zip /usr/local/bin/deterministic-zip
$SUDO mv /tmp/deterministic-zip /usr/local/bin/deterministic-zip
$SUDO chmod +x /usr/local/bin/deterministic-zip
_ok
}

0 comments on commit 176ea69

Please sign in to comment.