提交 64a62978 编写于 作者: 还_没_想_好's avatar 还_没_想_好 提交者: guo

[menuconfig] Fix pyconfig running errors

上级 ee57f2d0
......@@ -249,8 +249,8 @@ def menuconfig(RTT_ROOT):
touch_env()
env_dir = get_env_dir()
os.environ['PKGS_ROOT'] = os.path.join(env_dir, 'packages')
if isinstance(env_dir, str):
os.environ['PKGS_ROOT'] = os.path.join(env_dir, 'packages')
fn = '.config'
fn_old = '.config.old'
......@@ -282,8 +282,8 @@ def guiconfig(RTT_ROOT):
touch_env()
env_dir = get_env_dir()
os.environ['PKGS_ROOT'] = os.path.join(env_dir, 'packages')
if isinstance(env_dir, str):
os.environ['PKGS_ROOT'] = os.path.join(env_dir, 'packages')
fn = '.config'
fn_old = '.config.old'
......@@ -316,8 +316,8 @@ def guiconfig_silent(RTT_ROOT):
touch_env()
env_dir = get_env_dir()
os.environ['PKGS_ROOT'] = os.path.join(env_dir, 'packages')
if isinstance(env_dir, str):
os.environ['PKGS_ROOT'] = os.path.join(env_dir, 'packages')
fn = '.config'
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册