mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
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:
parent
df9607ce20
commit
82a429ebb8
2
sake
2
sake
@ -25,7 +25,7 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Find the PHP binary
|
# Find the PHP binary
|
||||||
for candidatephp in php5 php; do
|
for candidatephp in php php5; do
|
||||||
if [ `which $candidatephp` -a -f `which $candidatephp` ]; then
|
if [ `which $candidatephp` -a -f `which $candidatephp` ]; then
|
||||||
php=`which $candidatephp`
|
php=`which $candidatephp`
|
||||||
break
|
break
|
||||||
|
Loading…
Reference in New Issue
Block a user