From 8d0d272a57742dc474c9ef37db739b0703721df8 Mon Sep 17 00:00:00 2001 From: lubinglun Date: Wed, 9 Nov 2022 12:51:31 +0800 Subject: [PATCH] fixed 3d94a83 from https://gitee.com/aodongbiao/build_lite/pulls/618 add config's path into system path Signed-off-by: lubinglun Change-Id: I6e0aac836869e7e46629898e41bdcfe25616f796 --- hb_internal/common/config.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hb_internal/common/config.py b/hb_internal/common/config.py index 7c8dcc5..abde6ec 100644 --- a/hb_internal/common/config.py +++ b/hb_internal/common/config.py @@ -16,9 +16,10 @@ # limitations under the License. import os +import sys import platform from distutils.spawn import find_executable - +sys.path.append(os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))) from hb_internal import CONFIG_JSON from hb_internal import CONFIG_STRUCT from hb_internal import BUILD_TOOLS_CFG -- GitLab