[menuconfig] Fix pyconfig running errors

This commit is contained in:
tyx 2022-09-27 08:51:15 +08:00 committed by guo
parent ee57f2d0da
commit 64a6297840
1 changed files with 6 additions and 6 deletions

View File

@ -249,7 +249,7 @@ def menuconfig(RTT_ROOT):
touch_env()
env_dir = get_env_dir()
if isinstance(env_dir, str):
os.environ['PKGS_ROOT'] = os.path.join(env_dir, 'packages')
fn = '.config'
@ -282,7 +282,7 @@ def guiconfig(RTT_ROOT):
touch_env()
env_dir = get_env_dir()
if isinstance(env_dir, str):
os.environ['PKGS_ROOT'] = os.path.join(env_dir, 'packages')
fn = '.config'
@ -316,7 +316,7 @@ def guiconfig_silent(RTT_ROOT):
touch_env()
env_dir = get_env_dir()
if isinstance(env_dir, str):
os.environ['PKGS_ROOT'] = os.path.join(env_dir, 'packages')
fn = '.config'