Skip to content

Commit

Permalink
Change local variable to clone_script
Browse files Browse the repository at this point in the history
  • Loading branch information
dyastremsky committed Oct 6, 2023
1 parent fc8cd18 commit be628c5
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions build.py
Original file line number Diff line number Diff line change
Expand Up @@ -1787,25 +1787,25 @@ def backend_build(

def backend_clone(
be,
cmake_script,
clone_script,
tag,
install_dir,
github_organization,
):
repo_clone_dir = os.path.join(install_dir, "backends")

cmake_script.commentln(8)
cmake_script.comment(f"'{be}' backend")
cmake_script.comment("Delete this section to remove backend from build")
cmake_script.comment()
cmake_script.mkdir(repo_clone_dir)
cmake_script.cwd(repo_clone_dir)
cmake_script.gitclone(backend_repo(be), tag, be, github_organization)

cmake_script.comment()
cmake_script.comment(f"end '{be}' backend")
cmake_script.commentln(8)
cmake_script.blankln()
clone_script.commentln(8)
clone_script.comment(f"'{be}' backend")
clone_script.comment("Delete this section to remove backend from build")
clone_script.comment()
clone_script.mkdir(repo_clone_dir)
clone_script.cwd(repo_clone_dir)
clone_script.gitclone(backend_repo(be), tag, be, github_organization)

clone_script.comment()
clone_script.comment(f"end '{be}' backend")
clone_script.commentln(8)
clone_script.blankln()


def repo_agent_build(
Expand Down

0 comments on commit be628c5

Please sign in to comment.