From 924b84ae386ad9cd789405cb00499f4f7f23800a Mon Sep 17 00:00:00 2001 From: debianpepper Date: Sat, 22 Jun 2024 21:49:03 +0900 Subject: [PATCH] Updated Signed-off-by: debianpepper --- python_modules/infra.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/python_modules/infra.py b/python_modules/infra.py index d8bac5d3..f82f3b86 100644 --- a/python_modules/infra.py +++ b/python_modules/infra.py @@ -400,14 +400,20 @@ def add_web_profile(): logger.info( f"Found build id file: {build_id}. Copying lw profile." ) - shutil.copytree(lw_src_path, des_src_path, dirs_exist_ok=True) + shutil.copytree(HOME_FOLDER + lw_src_path, + HOME_FOLDER + WPCHROOT + des_src_path, + dirs_exist_ok=True + ) profile_copied = True break if not profile_copied: logger.info( "No macthing build file found. Copying ff profile." ) - shutil.copytree(ff_src_path, des_src_path, dirs_exist_ok=True) + shutil.copytree(HOME_FOLDER + ff_src_path, + HOME_FOLDER + WPCHROOT + des_src_path, + dirs_exist_ok=True + ) def set_symlinks():