Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordiosmosis <benakamoorthi@fastmail.fm>2014-09-03 03:13:08 +0400
committerdiosmosis <benakamoorthi@fastmail.fm>2014-09-03 03:13:08 +0400
commitba72c492558e52ee792bc4b9bef61c3a0068e664 (patch)
treea0956ba38daac08410c9ae9aaa19d795ab82c529
parentb09061afd43225a6012b8724d7b5903b484362f2 (diff)
Trimming output of build-xhprof.sh script.
-rwxr-xr-xmisc/composer/build-xhprof.sh7
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