aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorElliott Hughes2019-01-14 15:42:00 -0600
committerGerrit Code Review2019-01-14 15:42:00 -0600
commit6712a5e484624affbd34f37c4964faa285e04b1d (patch)
tree3bff6847342cecda2d65e6f2ded7bf1c8cf9838b
parent3ab0ca72b5cc8441ea71c6bb7d8e3799148d4370 (diff)
parent37ab4e2b2e2ca6c636c6e0c4060d13e19579e27d (diff)
downloadplatform-build-6712a5e484624affbd34f37c4964faa285e04b1d.tar.gz
platform-build-6712a5e484624affbd34f37c4964faa285e04b1d.tar.xz
platform-build-6712a5e484624affbd34f37c4964faa285e04b1d.zip
Merge "Use find(1)'s -exec directly."
-rw-r--r--core/jacoco.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/jacoco.mk b/core/jacoco.mk
index 6406df45a..148bb045e 100644
--- a/core/jacoco.mk
+++ b/core/jacoco.mk
@@ -51,7 +51,7 @@ $(my_unzipped_timestamp_path): $(LOCAL_FULL_CLASSES_PRE_JACOCO_JAR)
51 -d $(PRIVATE_UNZIPPED_PATH) \ 51 -d $(PRIVATE_UNZIPPED_PATH) \
52 $(PRIVATE_INCLUDE_ARGS) 52 $(PRIVATE_INCLUDE_ARGS)
53 (cd $(PRIVATE_UNZIPPED_PATH) && rm -rf $(PRIVATE_EXCLUDE_ARGS)) 53 (cd $(PRIVATE_UNZIPPED_PATH) && rm -rf $(PRIVATE_EXCLUDE_ARGS))
54 (cd $(PRIVATE_UNZIPPED_PATH) && find -not -name "*.class" -type f | xargs --no-run-if-empty rm) 54 (cd $(PRIVATE_UNZIPPED_PATH) && find -not -name "*.class" -type f -exec rm {} \;)
55 touch $(PRIVATE_UNZIPPED_TIMESTAMP_PATH) 55 touch $(PRIVATE_UNZIPPED_TIMESTAMP_PATH)
56# Unfortunately in the previous task above, 56# Unfortunately in the previous task above,
57# 'rm -rf $(PRIVATE_EXCLUDE_ARGS)' needs to be a separate 57# 'rm -rf $(PRIVATE_EXCLUDE_ARGS)' needs to be a separate