Permalink
Browse files

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
  • Loading branch information...
1 parent 9dedce2 commit e61fef37d846e89108ef59ddcf9d4e67bcbefd1f Bryan Duxbury committed Jan 26, 2011
Showing with 5 additions and 1 deletion.
  1. +5 −1 bootstrap.sh
View
6 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

0 comments on commit e61fef3

Please sign in to comment.