1
0
miroir de https://github.com/nextcloud/server.git synchronisé 2024-07-26 19:36:56 +02:00
nextcloud/tests/travis/changed_app.sh

19 lignes
274 B
Bash
Brut Vue normale Historique

#!/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