aboutsummaryrefslogtreecommitdiff
path: root/install.sh
diff options
context:
space:
mode:
authorDamian Rouson <damian@sourceryinstitute.org>2020-10-27 12:29:04 -0700
committerDamian Rouson <damian@sourceryinstitute.org>2020-10-27 12:29:04 -0700
commitacc3585373d5336d89ac1bfc3548897ef848907c (patch)
tree3eb48705fa8da726dbf4dc7b35707657e8143d52 /install.sh
parenta22ce1c6b6921cbc86d0eca57256910fe8926439 (diff)
downloadfpm-acc3585373d5336d89ac1bfc3548897ef848907c.tar.gz
fpm-acc3585373d5336d89ac1bfc3548897ef848907c.zip
fix(install.sh): remove "[["/"]]"
Diffstat (limited to 'install.sh')
-rwxr-xr-xinstall.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/install.sh b/install.sh
index 862de25..78933db 100755
--- a/install.sh
+++ b/install.sh
@@ -19,14 +19,14 @@ else
fi
fi
-if [[ -x "$install_path/fpm" ]]; then
+if [ -x "$install_path/fpm" ]; then
echo "Overwriting existing fpm installation in $install_path"
fi
cd bootstrap
stack install
-if [[ -x "$install_path/fpm" ]]; then
+if [ -x "$install_path/fpm" ]; then
echo "fpm installed successfully to $install_path"
else
echo "fpm installation unsuccessful: fpm not found in $install_path"