Skip to content

Commit 277828d

Browse files
authored
Merge pull request #216 from sourceryinstitute/remove-bashism
Remove bashism from install.sh
2 parents 932b93b + acc3585 commit 277828d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

install.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@ else
1919
fi
2020
fi
2121

22-
if [[ -x "$install_path/fpm" ]]; then
22+
if [ -x "$install_path/fpm" ]; then
2323
echo "Overwriting existing fpm installation in $install_path"
2424
fi
2525

2626
cd bootstrap
2727
stack install
2828

29-
if [[ -x "$install_path/fpm" ]]; then
29+
if [ -x "$install_path/fpm" ]; then
3030
echo "fpm installed successfully to $install_path"
3131
else
3232
echo "fpm installation unsuccessful: fpm not found in $install_path"

0 commit comments

Comments
 (0)