mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-08 06:05:17 +00:00
Use the find -exec instead of find ... | xargs otherwise when there is error log in the output of the build.
This commit is contained in:
@@ -29,7 +29,7 @@ if [[ "$testdir" != "$thisdir" ]]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
find ../ -name "*.class" | xargs rm
|
||||
find .. -type f -name "*.class" -exec rm {} \;
|
||||
|
||||
if [[ -e "${targetdir}" ]]; then
|
||||
echo "clean target"
|
||||
|
||||
Reference in New Issue
Block a user