summaryrefslogtreecommitdiff
path: root/bootstrap.sh
diff options
context:
space:
mode:
authorBryan Duxbury <bryanduxbury@apache.org>2011-01-26 23:38:54 +0000
committerBryan Duxbury <bryanduxbury@apache.org>2011-01-26 23:38:54 +0000
commite61fef37d846e89108ef59ddcf9d4e67bcbefd1f (patch)
treee2f6d5a3a807e6669c347e61d84cd2a17e1264c8 /bootstrap.sh
parent9dedce2196b511e50d39ca544dcf735d506d6d96 (diff)
downloadthrift-e61fef37d846e89108ef59ddcf9d4e67bcbefd1f.tar.gz
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
Diffstat (limited to 'bootstrap.sh')
-rwxr-xr-xbootstrap.sh6
1 files changed, 5 insertions, 1 deletions
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