commit | 582fd90c4a351d167c98fc6d7d23ed9b6ed0c89f | [log] [tgz] |
---|---|---|
author | Romain Gilles <rgilles@github> | Tue Sep 06 23:28:22 2016 +0200 |
committer | Romain Gilles <rgilles@github> | Tue Sep 06 23:28:22 2016 +0200 |
tree | b8d282201a25d7954a8453f14e335231ff19c3c9 | |
parent | afd230af8ddc555b3baf399f293d8af67ea767e8 [diff] |
Use the find -exec instead of find ... | xargs otherwise when there is error log in the output of the build.
diff --git a/tests/JavaTest.sh b/tests/JavaTest.sh index ef261a7..40e854b 100755 --- a/tests/JavaTest.sh +++ b/tests/JavaTest.sh
@@ -29,7 +29,7 @@ exit 1 fi -find ../ -name "*.class" | xargs rm +find .. -type f -name "*.class" -exec rm {} \; if [[ -e "${targetdir}" ]]; then echo "clean target"