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:
Diffstat (limited to 'misc/composer/build-xhprof.sh')
-rwxr-xr-xmisc/composer/build-xhprof.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/misc/composer/build-xhprof.sh b/misc/composer/build-xhprof.sh
index 95057dc26e..517d228d0b 100755
--- a/misc/composer/build-xhprof.sh
+++ b/misc/composer/build-xhprof.sh
@@ -11,6 +11,11 @@ if ! type make &> /dev/null; then
exit
fi
+if ! [ -d "vendor/facebook/xhprof/extension" ]; then
+ echo "xhprof missing, skipping build"
+ exit
+fi
+
mkdir -p tmp/xhprof-logs
cd vendor/facebook/xhprof/extension