diff options
author | diosmosis <benakamoorthi@fastmail.fm> | 2014-09-03 03:13:08 +0400 |
---|---|---|
committer | diosmosis <benakamoorthi@fastmail.fm> | 2014-09-03 03:13:08 +0400 |
commit | ba72c492558e52ee792bc4b9bef61c3a0068e664 (patch) | |
tree | a0956ba38daac08410c9ae9aaa19d795ab82c529 /misc/composer | |
parent | b09061afd43225a6012b8724d7b5903b484362f2 (diff) |
Trimming output of build-xhprof.sh script.
Diffstat (limited to 'misc/composer')
-rwxr-xr-x | misc/composer/build-xhprof.sh | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/misc/composer/build-xhprof.sh b/misc/composer/build-xhprof.sh index f1f91e8217..95057dc26e 100755 --- a/misc/composer/build-xhprof.sh +++ b/misc/composer/build-xhprof.sh @@ -1,12 +1,12 @@ #!/bin/bash -if ! type phpize 2> /dev/null; then +if ! type phpize &> /dev/null; then echo "phpize missing, skipping build" echo "If you installed PHP via Aptitude, you can install phpize w/ 'sudo apt-get install php5-dev'" exit fi -if ! type make 2> /dev/null; then +if ! type make &> /dev/null; then echo "make missing, skipping build" exit fi @@ -17,19 +17,16 @@ cd vendor/facebook/xhprof/extension echo "Building xhprof..." -echo "Running phpize..." if ! phpize &> ../../../../tmp/xhprof-logs/phpize.log; then echo "Fatal error: phpize failed! View tmp/xhprof-logs/phpize.log for more info." exit 1 fi -echo "Running configure script..." if ! ./configure &> ../../../../tmp/xhprof-logs/configure.log; then echo "Fatal error: configure script failed! View tmp/xhprof-logs/configure.log for more info." exit 2 fi -echo "Building..." if ! make &> ../../../../tmp/xhprof-logs/make.log; then echo "Fatal error: could not build extension (make failed)! View tmp/xhprof-logs/make.log for more info." exit 3 |