From 344d58ae21bd0f5b260ef47547c4cef95ec9a23c Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 25 Oct 2022 23:09:04 +0100 Subject: rename : portageRepo -> gentooRepo --- src/backend/setBranch.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/backend/setBranch.py') diff --git a/src/backend/setBranch.py b/src/backend/setBranch.py index d0fa834..0dac54f 100644 --- a/src/backend/setBranch.py +++ b/src/backend/setBranch.py @@ -40,7 +40,7 @@ def getBranchRemote(branch,remote): "Error: Invalid branch" + " " + "'" + str(branch) + "'" +" " + "(options : master, next)" ) - portageRemote = [remote, sisyphus.getFilesystem.portageRepo] + portageRemote = [remote, sisyphus.getFilesystem.gentooRepo] redcoreRemote = [remote, sisyphus.getFilesystem.redcoreRepo] portageConfigRemote = [remote, sisyphus.getFilesystem.portageConfigRepo] @@ -50,8 +50,8 @@ def getBranchRemote(branch,remote): def injectStage1(branch,remote): portageRemote,redcoreRemote,portageConfigRemote = getBranchRemote(branch,remote) - if not os.path.isdir(os.path.join(sisyphus.getFilesystem.portageRepoDir, '.git')): - git.Repo.clone_from("/".join(portageRemote), sisyphus.getFilesystem.portageRepoDir, depth=1, branch=branch) + if not os.path.isdir(os.path.join(sisyphus.getFilesystem.gentooRepoDir, '.git')): + git.Repo.clone_from("/".join(portageRemote), sisyphus.getFilesystem.gentooRepoDir, depth=1, branch=branch) @animation.wait('injecting Redcore Linux ebuild overlay') def injectStage2(branch,remote): -- cgit v1.2.3