From 82a429ebb85b8fe8e83028817fbe998daddbdf37 Mon Sep 17 00:00:00 2001 From: Sam Minnee Date: Wed, 12 May 2010 05:28:10 +0000 Subject: [PATCH] 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 --- sake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sake b/sake index a06b82a41..47199c3a9 100755 --- a/sake +++ b/sake @@ -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