From 942eef5d0e0ebe0791ff411a30df5ff58aef58a5 Mon Sep 17 00:00:00 2001 From: Richard Patel Date: Tue, 20 Feb 2024 22:37:27 +0000 Subject: [PATCH] config: fix shell compatibility --- config/everything.mk | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/config/everything.mk b/config/everything.mk index 3b447f6050..197cba01c3 100644 --- a/config/everything.mk +++ b/config/everything.mk @@ -450,10 +450,10 @@ define _make-lcov # objects compiled from assembly code. .PHONY: $(1)/cov/mappings.ar $(1)/cov/mappings.ar: - rm -f $(1)/cov/mappings.ar && \ - mkdir -p $$(dir $$@) && \ - find $$(addsuffix /obj,$(2)) -name '*.o' -exec sh -c \ - '[[ -n "`llvm-objdump -h $$$$1 | grep llvm_covmap`" ]] \ + rm -f $(1)/cov/mappings.ar && \ + mkdir -p $$(dir $$@) && \ + find $$(addsuffix /obj,$(2)) -name '*.o' -exec sh -c \ + '[ -n "`llvm-objdump -h $$$$1 | grep llvm_covmap`" ] \ && llvm-ar --thin q $$@ $$$$1' sh {} \; # llvm-cov step 5