We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
find
1 parent 308e3e9 commit d72953bCopy full SHA for d72953b
hack/lib/cleanup.sh
@@ -118,7 +118,7 @@ function os::cleanup::tmpdir() {
118
fi
119
120
# delete any sub directory underneath BASETMPDIR
121
- for directory in $( find "${BASETMPDIR}" -d 2 ); do
+ for directory in $( find "${BASETMPDIR}" -mindepth 2 -maxdepth 2 ); do
122
${USE_SUDO:+sudo} rm -rf "${directory}"
123
done
124
}
0 commit comments