diff options
author | Damian Rouson <damian@sourceryinstitute.org> | 2020-11-09 20:06:59 -0800 |
---|---|---|
committer | Damian Rouson <damian@sourceryinstitute.org> | 2020-11-09 20:06:59 -0800 |
commit | acf02aae9b3a2e8b9950bad33e30c1bb8f8c9635 (patch) | |
tree | c1ae974de4dd7381e7cbc29bedaa037105067b12 /install.sh | |
parent | 277828ddfb29c2c0c3fe615cb4f427573ac320aa (diff) | |
download | fpm-acf02aae9b3a2e8b9950bad33e30c1bb8f8c9635.tar.gz fpm-acf02aae9b3a2e8b9950bad33e30c1bb8f8c9635.zip |
fix(install): remove additional bashisms
This commit makes the edits suggested at
https://github.com/fortran-lang/fpm/pull/216#pullrequestreview-518403499
Diffstat (limited to 'install.sh')
-rwxr-xr-x | install.sh | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -5,13 +5,13 @@ set -e # exit on error install_path="$HOME/.local/bin" -if command -v stack &> /dev/null ; then +if command -v stack 1> /dev/null 2>&1 ; then echo "found stack" else echo "Haskell stack not found." echo "Installing Haskell stack to." curl -sSL https://get.haskellstack.org/ | sh - if command -v stack &> /dev/null ; then + if command -v stack 1> /dev/null 2>&1 ; then echo "Haskell stack installation successful." else echo "Haskell stack installation unsuccessful." |