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

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@112362 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2010-10-15 00:33:12 +00:00
parent e73918f144
commit 7164c91de8
1 changed files with 1 additions and 1 deletions

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