Skip to content

Commit

Permalink
EdkRepo: Clone fails if the manifest is not in CiIndex.xml
Browse files Browse the repository at this point in the history
EdkRepo clone fails if the manifest file specified does not
exist in any of the the global manifest repositories.

Signed-off-by: Nate DeSimone <[email protected]>
  • Loading branch information
nate-desimone committed May 26, 2021
1 parent de5ec10 commit b07ee84
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions edkrepo/common/common_repo_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,8 @@ def clone_repos(args, workspace_dir, repos_to_clone, project_client_side_hooks,
global_manifest_directory = config['user_cfg_file'].manifest_repo_abs_path(src_manifest_repo)
else:
global_manifest_directory = None
else:
global_manifest_directory = None
if global_manifest_directory:
# Install git hooks if there is a manifest repo associated with the manifest being cloned
install_hooks(project_client_side_hooks, local_repo_path, repo_to_clone, config, global_manifest_directory)
Expand Down

0 comments on commit b07ee84

Please sign in to comment.