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.

changed_app.sh 350B

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