changed_app.sh 274 B

12345678910111213141516171819
  1. #!/bin/bash
  2. #
  3. # ownCloud
  4. #
  5. # @author Joas Schilling
  6. # @author Thomas Müller
  7. # @copyright 2015 Thomas Müller thomas.mueller@tmit.eu
  8. #
  9. APP=$1
  10. FOUND=$(git diff ${TRAVIS_COMMIT_RANGE} | grep -- "^+++ b/apps/$APP/")
  11. if [ "x$FOUND" != 'x' ]; then
  12. echo "1"
  13. else
  14. echo "0"
  15. fi