From e61fef37d846e89108ef59ddcf9d4e67bcbefd1f Mon Sep 17 00:00:00 2001 From: Bryan Duxbury Date: Wed, 26 Jan 2011 23:38:54 +0000 Subject: THRIFT-994. build: Don't try to invoke phpize if we don't have it Patch: Richard Salz git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1063919 13f79535-47bb-0310-9956-ffa450edef68 --- bootstrap.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'bootstrap.sh') diff --git a/bootstrap.sh b/bootstrap.sh index cda21dfcf..0c2b8868c 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -20,7 +20,11 @@ # ./cleanup.sh -(cd lib/php/src/ext/thrift_protocol && phpize) +if test -d lib/php/src/ext/thrift_protocol ; then + if phpize -v >/dev/null 2>/dev/null ; then + (cd lib/php/src/ext/thrift_protocol && phpize) + fi +fi set -e -- cgit v1.2.1