Skip to content

Commit

Permalink
Merge pull request kubernetes#18591 from spxtr/fix-find
Browse files Browse the repository at this point in the history
Fix workspace not empty on gce tests.
  • Loading branch information
spxtr committed Dec 11, 2015
2 parents 8535f13 + 12c038a commit 5885728
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hack/jenkins/e2e.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1142,7 +1142,7 @@ if [[ "${E2E_UP,,}" == "true" || "${JENKINS_FORCE_GET_TARS:-}" =~ ^[yY]$ ]]; the
# Otherwise, we want a completely empty directory.
if [[ "${JENKINS_FORCE_GET_TARS:-}" =~ ^[yY]$ ]]; then
rm -rf kubernetes*
elif [[ $(find . | wc -l) != 1 ]]; then
elif [[ $(find . -not -path './.config*' | wc -l) != 1 ]]; then
echo $PWD not empty, bailing!
find .
exit 1
Expand Down

0 comments on commit 5885728

Please sign in to comment.