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