diff options
author | diosmosis <benaka@piwik.pro> | 2014-09-05 13:33:40 +0400 |
---|---|---|
committer | diosmosis <benaka@piwik.pro> | 2014-09-05 13:33:55 +0400 |
commit | 0fe96f76ddf27d343bfc4b0d7e62ea9547e389c2 (patch) | |
tree | f60cc6b9f9f2c1cc4180b6e6fd272e846bcde4a4 | |
parent | 52230fb700f0bea2b59f655ba7c4559aa079d0f5 (diff) |
Do not try to build xhprof if xhprof directory is missing from vendor folder.
-rwxr-xr-x | misc/composer/build-xhprof.sh | 5 |
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 |