From 2917af1889dd5b1a9c83d8d8d7059bd0555a50ca Mon Sep 17 00:00:00 2001 From: Gerhard Theurich Date: Sun, 22 Oct 2023 23:29:39 -0600 Subject: [PATCH] Fix variable syntax. --- build/common.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/common.mk b/build/common.mk index c648a65e5f..e19a0d60a0 100644 --- a/build/common.mk +++ b/build/common.mk @@ -2050,7 +2050,7 @@ endif build_preload_script: -@echo "#!/bin/sh" > $(ESMF_PRELOADDIR)/preload.sh -@echo "# Script to preload ESMF dynamic trace library" >> $(ESMF_PRELOADDIR)/preload.sh - -@echo 'if [ "$(ESMF_ENV_PRELOAD)" != "" ]; then' >> $(ESMF_PRELOADDIR)/preload.sh + -@echo 'if [ "$$$(ESMF_ENV_PRELOAD)" != "" ]; then' >> $(ESMF_PRELOADDIR)/preload.sh -@echo 'env $(ESMF_ENV_PRELOAD)="$$$(ESMF_ENV_PRELOAD)$(ESMF_ENV_PRELOAD_DELIMIT)$(ESMF_PRELOADDIR)/libesmftrace_preload.$(ESMF_SL_SUFFIX)" $$*' >> $(ESMF_PRELOADDIR)/preload.sh -@echo 'else' >> $(ESMF_PRELOADDIR)/preload.sh -@echo 'env $(ESMF_ENV_PRELOAD)="$(ESMF_PRELOADDIR)/libesmftrace_preload.$(ESMF_SL_SUFFIX)" $$*' >> $(ESMF_PRELOADDIR)/preload.sh