aboutsummaryrefslogtreecommitdiffstats
path: root/tests/travis/changed_app.sh
blob: a4be0476573688d61f1677640b9f12534c2f8af8 (plain)
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