Sake fix: look for php binary before php5, to prevent errors on CentOS and Cygwin.

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@104668 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Sam Minnee 2010-05-12 05:28:10 +00:00
parent df9607ce20
commit 82a429ebb8

2
sake
View File

@ -25,7 +25,7 @@ else
fi
# Find the PHP binary
for candidatephp in php5 php; do
for candidatephp in php php5; do
if [ `which $candidatephp` -a -f `which $candidatephp` ]; then
php=`which $candidatephp`
break