mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-10-03 19:29:44 +08:00
Before cabal install should be cabal update. Also, in copy command the home dir was missing
@@ -15,8 +15,9 @@ _Note: Haskell Platform v7.10.3 and v8.0.1 requires glibc v2.14 but CentOS 6 has
|
||||
popd
|
||||
rm -r "$dir"
|
||||
# Install shellcheck
|
||||
cabal update
|
||||
cabal install shellcheck
|
||||
|
||||
# Place it in a global directory
|
||||
cp .cabal/bin/shellcheck /usr/local/bin # portable to other el6 systems without Haskell
|
||||
cp ~/.cabal/bin/shellcheck /usr/local/bin # portable to other el6 systems without Haskell
|
||||
|
||||
|
Reference in New Issue
Block a user