From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from wout1-smtp.messagingengine.com (wout1-smtp.messagingengine.com [64.147.123.24]) by mx.groups.io with SMTP id smtpd.web10.9830.1686359044822902864 for ; Fri, 09 Jun 2023 18:04:04 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@bsdio.com header.s=fm2 header.b=HduOfyov; spf=pass (domain: bsdio.com, ip: 64.147.123.24, mailfrom: rebecca@bsdio.com) Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.west.internal (Postfix) with ESMTP id 508863200033; Fri, 9 Jun 2023 21:04:03 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Fri, 09 Jun 2023 21:04:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdio.com; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm2; t= 1686359042; x=1686445442; bh=qR8q5i25LADL+6rYGkIiBD4iNjaZ9l5gcyx noX6SrxM=; b=HduOfyovVtimyag3oBDBFOdAw4kNRY4sYUtrEGOE6/3moXVuBQA J0UqcESoxnOI+yfUIut7EPORqJHvgcTbNh7c/8pH91qYWmzq/wcu6zTi7VOfNsGO Wa2B5XcQO1mf/s5s6X8bde1AiieJSDBOO2PM7F0vNzVnHGsDHdalVUob73D2r1Lv FMechw11SMDJE5bbBaq3hVBrl603i4oRhnpksb7tZ1IvmXR5hixaZXWPaG/xH4pZ MEciM8q8sO7gjwMXSV5onEvCCb1Z3dl6evDKyEdhdd/QBCzVyBgntFsZaoOmEd4a OO5PcQr15jWA3I+Cp8fiZv9OmamJKnRGIAA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1686359042; x=1686445442; bh=qR8q5i25LADL+6rYGkIiBD4iNjaZ9l5gcyx noX6SrxM=; b=Jppw3eYEzd+sXC0MRLMa8lIa5jZy8eaoEcHDXQzr++2MbkYrdRZ bO7YWlfuNI6ABs/1drM2bmTOgZUEKBoxC6LPEuDuPdKqnSiqGaFV8RVs1ii6nA+4 B3AbsKNfEAWcOjp+efUF4bikNob3qIZm99840A37e4KMTVbsWhnJL+HFWMoOC9H8 QqMRQlUkU4Fw0Eit5+0xuxE4U89NrYraGaqm4A3uxbnFfwJzLn8Oaj0jn8j9JEsM U2ZTbRmeLedJiRvbdsVUNNCKykofNlM+T+RYnu1woc2+O3swCyeL7K9LQM2u0XXF 95SgQN7I7+dtmaSPPtZ/uE7TSJKxa6m7jKg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrgedtledggedtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkfffgggfuffvvehfhfgjtgfgsehtjeertddtfeejnecuhfhrohhmpeftvggs vggttggrucevrhgrnhcuoehrvggsvggttggrsegsshguihhordgtohhmqeenucggtffrrg htthgvrhhnpeehleekgfdutedugeehgeffgffhteefhffhteetfeevhefgvdejhedthfff ieffleenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe hrvggsvggttggrsegsshguihhordgtohhm X-ME-Proxy: Feedback-ID: i5b994698:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 9 Jun 2023 21:04:01 -0400 (EDT) Message-ID: <117dda45-f4e3-b4be-aa91-a1ed08e6b40f@bsdio.com> Date: Fri, 9 Jun 2023 19:04:00 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: [PATCH 1/1] BaseTools: FMMT GuidTool Auto Select Config file To: Yuwei Chen , devel@edk2.groups.io Cc: Liming Gao , Bob Feng References: <20230605081235.1991-1-yuwei.chen@intel.com> From: "Rebecca Cran" In-Reply-To: <20230605081235.1991-1-yuwei.chen@intel.com> Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit That won't work on Unix, where the separator is ':', not ';'. -- Rebecca Cran On 6/5/23 02:12, Yuwei Chen wrote: > Currently, Python FMMT tool does not support automatically > select FMMTConf.ini file which saves GuidTool settings. > This patch support this features. > > Cc: Rebecca Cran > Cc: Liming Gao > Cc: Bob Feng > Signed-off-by: Yuwei Chen > --- > BaseTools/Source/Python/FMMT/core/GuidTools.py | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/BaseTools/Source/Python/FMMT/core/GuidTools.py b/BaseTools/Source/Python/FMMT/core/GuidTools.py > index a25681709bc8..671d77c47de9 100644 > --- a/BaseTools/Source/Python/FMMT/core/GuidTools.py > +++ b/BaseTools/Source/Python/FMMT/core/GuidTools.py > @@ -110,7 +110,7 @@ class GUIDTools: > if os.environ['FmmtConfPath']: > self.tooldef_file = os.path.join(os.environ['FmmtConfPath'], 'FmmtConf.ini') > else: > - PathList = os.environ['PATH'] > + PathList = os.environ['PATH'].split(';') > for CurrentPath in PathList: > if os.path.exists(os.path.join(CurrentPath, 'FmmtConf.ini')): > self.tooldef_file = os.path.join(CurrentPath, 'FmmtConf.ini')