Skip to content

Commit

Permalink
Merge pull request #13691 from stevekuznetsov/skuznets/find
Browse files Browse the repository at this point in the history
Merged by openshift-bot
  • Loading branch information
OpenShift Bot authored Apr 9, 2017
2 parents 4d09d8a + d72953b commit 585b160
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hack/lib/cleanup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ function os::cleanup::tmpdir() {
fi

# delete any sub directory underneath BASETMPDIR
for directory in $( find "${BASETMPDIR}" -d 2 ); do
for directory in $( find "${BASETMPDIR}" -mindepth 2 -maxdepth 2 ); do
${USE_SUDO:+sudo} rm -rf "${directory}"
done
}
Expand Down

0 comments on commit 585b160

Please sign in to comment.