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 <benaka@piwik.pro>2014-09-05 13:33:40 +0400
committerdiosmosis <benaka@piwik.pro>2014-09-05 13:33:55 +0400
commit0fe96f76ddf27d343bfc4b0d7e62ea9547e389c2 (patch)
treef60cc6b9f9f2c1cc4180b6e6fd272e846bcde4a4 /misc/composer
parent52230fb700f0bea2b59f655ba7c4559aa079d0f5 (diff)
Do not try to build xhprof if xhprof directory is missing from vendor folder.
Diffstat (limited to 'misc/composer')
-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