From 2a76880f319ba8b1f8bf6e850cdbb0ae623a82e3 Mon Sep 17 00:00:00 2001 From: Jim Edwards Date: Wed, 30 Jun 2021 10:44:15 -0600 Subject: [PATCH] add CIMEROOT --- buildlib.csm_share | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/buildlib.csm_share b/buildlib.csm_share index 54489d2..f890a6a 100755 --- a/buildlib.csm_share +++ b/buildlib.csm_share @@ -1,4 +1,8 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 +import sys,os +cimeroot = os.getenv("CIMEROOT") +sys.path.append(os.path.join(cimeroot,"scripts","Tools")) + from standard_script_setup import * from CIME.utils import copyifnewer, run_bld_cmd_ensure_logging, expect, symlink_force from CIME.case import Case