diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-10-25 23:09:04 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-10-25 23:09:04 +0100 |
commit | 344d58ae21bd0f5b260ef47547c4cef95ec9a23c (patch) | |
tree | 5e3950d6e4bcc85f0d01aedc1cc0707de4611771 /src/backend/setBranch.py | |
parent | c672a93d709ec0cb7138034369d1f06af5ee0318 (diff) |
rename : portageRepo -> gentooRepo
Diffstat (limited to 'src/backend/setBranch.py')
-rw-r--r-- | src/backend/setBranch.py | 6 |
1 files changed, 3 insertions, 3 deletions
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): |