Updated `find` invocation not to use OSX-specific flags
@@ -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
}
