From dd810d826e4beceff25831943de2be4675ddb41a Mon Sep 17 00:00:00 2001 From: John Wright Date: Fri, 27 Aug 2021 16:38:00 -0700 Subject: [PATCH] Escape $1 in awk command --- common.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common.mk b/common.mk index e349fbaa..d756813e 100644 --- a/common.mk +++ b/common.mk @@ -173,7 +173,7 @@ harness_macro_temp: $(HARNESS_SMEMS_CONF) | top_macro_temp # remove duplicate files and headers in list of simulation file inputs ######################################################################################## $(sim_common_files): $(sim_files) $(sim_top_blackboxes) $(sim_harness_blackboxes) - awk '{print $1;}' $^ | sort -u | grep -v '.*\.\(svh\|h\)$$' > $@ + awk '{print $$1;}' $^ | sort -u | grep -v '.*\.\(svh\|h\)$$' > $@ ######################################################################################### # helper rule to just make verilog files