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():