Skip to content

Commit

Permalink
Updated the install_shellcheck.sh script to run a cleaner installatio…
Browse files Browse the repository at this point in the history
…n by removing the shellcheck folder after the shellcheck executable is added to the path
  • Loading branch information
Azbagheri committed Oct 28, 2021
1 parent 0ed3707 commit 7f71087
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/install_shellcheck.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/bin/bash

# Update shellcheck to the locked v0.7.0 version through the binary distribution
scversion='v0.7.2'

wget -qO- "https://github.com/koalaman/shellcheck/releases/download/${scversion?}/shellcheck-${scversion?}.linux.x86_64.tar.xz" | tar -xJv
cp "shellcheck-${scversion}/shellcheck" /usr/local/bin
rm -rf "shellcheck-${scversion}"
shellcheck --version

0 comments on commit 7f71087

Please # to comment.