From: Bryan Duxbury Date: Wed, 26 Jan 2011 23:38:54 +0000 (+0000) Subject: THRIFT-994. build: Don't try to invoke phpize if we don't have it X-Git-Tag: 0.7.0~201 X-Git-Url: https://source.supwisdom.com/gerrit/gitweb?a=commitdiff_plain;h=e61fef37d846e89108ef59ddcf9d4e67bcbefd1f;p=common%2Fthrift.git 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 --- diff --git a/bootstrap.sh b/bootstrap.sh index cda21dfc..0c2b8868 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