Skip to content

Commit

Permalink
Minor text fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
kurtisvg committed Feb 14, 2018
1 parent a444fed commit 0f82b50
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .kokoro/tests/diff_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,15 @@ echo -e "\n******************** TESTING AFFECTED PROJECTS ********************"
cd github/java-docs-samples
find * -name pom.xml -print0 | sort -z | while read -d $'\0' file
do

# Navigate to project
file=$(dirname "$file")
pushd "$file" > /dev/null

set +e
# Has the project changed?
# Only tests changed projects
git diff --quiet master.. .
CHANGED=$?
# Skip parents so the projects aren't tested twice
# Only test leafs to prevent testing twice
PARENT=$(grep "<modules>" pom.xml -c)
set -e

Expand Down

0 comments on commit 0f82b50

Please sign in to comment.