Skip to content

Commit d72953b

Browse files
Updated find invocation not to use OSX-specific flags
Signed-off-by: Steve Kuznetsov <[email protected]>
1 parent 308e3e9 commit d72953b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hack/lib/cleanup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ function os::cleanup::tmpdir() {
118118
fi
119119

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

0 commit comments

Comments
 (0)