aboutsummaryrefslogtreecommitdiff
path: root/serve.sh
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xserve.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/serve.sh b/serve.sh
index 537c980..d8119b6 100755
--- a/serve.sh
+++ b/serve.sh
@@ -3,10 +3,10 @@
php_bin=""
port=8000
-for try_bin in {php7,php}
+for try_bin in php7 php
do
php_bin=$(command -v $try_bin)
- if [[ -n "$php_bin" ]]
+ if [ -n "$php_bin" ]
then
break
fi