diff options
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): |