diff options
Diffstat (limited to 'plugins/cover.mk')
-rw-r--r-- | plugins/cover.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/cover.mk b/plugins/cover.mk index 04ea657..a850335 100644 --- a/plugins/cover.mk +++ b/plugins/cover.mk @@ -117,7 +117,9 @@ ifneq ($(COVER_REPORT_DIR),) cover-report-clean: $(gen_verbose) rm -rf $(COVER_REPORT_DIR) +ifneq ($(COVER_REPORT_DIR),$(COVER_DATA_DIR)) $(if $(shell ls -A $(COVER_DATA_DIR)/),,$(verbose) rmdir $(COVER_DATA_DIR)) +endif ifeq ($(COVERDATA),) cover-report: |