Teknik is a suite of services with attractive and functional interfaces. https://www.teknik.io/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

clean-xhprof.sh 325B

123456789101112
  1. #!/bin/bash
  2. # if xhprof exists but points to a non-master branch, checkout master so composer won't fail
  3. if [ -d "vendor/facebook/xhprof/extension" ]; then
  4. cd vendor/facebook/xhprof/extension
  5. GIT_BRANCH=$(git symbolic-ref HEAD 2>/dev/null)
  6. git reset --hard &> /dev/null
  7. git checkout master &> /dev/null
  8. fi