diff options
Diffstat (limited to 'misc/composer/clean-xhprof.sh')
-rwxr-xr-x | misc/composer/clean-xhprof.sh | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/misc/composer/clean-xhprof.sh b/misc/composer/clean-xhprof.sh deleted file mode 100755 index d20c17dd48..0000000000 --- a/misc/composer/clean-xhprof.sh +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/bash - -# if xhprof exists but points to a non-master branch, checkout master so composer won't fail - -if [ -d "vendor/facebook/xhprof/extension" ]; then - cd vendor/facebook/xhprof/extension - - GIT_BRANCH=$(git symbolic-ref HEAD 2>/dev/null) - - git reset --hard &> /dev/null - git checkout master &> /dev/null -fi
\ No newline at end of file |