From 3b26461f072cc897ee233d18a32f3b0f0ea83c23 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 9 Mar 2023 20:28:31 +0000 Subject: fetchList -> dl_list; gentooRepoDir -> g_src_dir; redcoreRepoDir -> r_src_dir; portageConfigDir -> p_cfg_dir; portageCacheDir -> p_cch_dir; portageDistDir -> p_dst_dir; portageMetadataDir -> p_mtd_dir --- src/backend/setbranch.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/backend/setbranch.py') diff --git a/src/backend/setbranch.py b/src/backend/setbranch.py index 0bb25c6..1403414 100644 --- a/src/backend/setbranch.py +++ b/src/backend/setbranch.py @@ -43,9 +43,9 @@ def injectGentooRepo(branch, remote): gentooRemote, redcoreRemote, portageConfigRemote = getBranchRemote( branch, remote) - if not os.path.isdir(os.path.join(sisyphus.getfs.gentooRepoDir, '.git')): + if not os.path.isdir(os.path.join(sisyphus.getfs.g_src_dir, '.git')): git.Repo.clone_from("/".join(gentooRemote), - sisyphus.getfs.gentooRepoDir, depth=1, branch=branch) + sisyphus.getfs.g_src_dir, depth=1, branch=branch) @animation.wait('injecting Redcore Linux ebuild overlay') @@ -53,9 +53,9 @@ def injectRedcoreRepo(branch, remote): gentooRemote, redcoreRemote, portageConfigRemote = getBranchRemote( branch, remote) - if not os.path.isdir(os.path.join(sisyphus.getfs.redcoreRepoDir, '.git')): + if not os.path.isdir(os.path.join(sisyphus.getfs.r_src_dir, '.git')): git.Repo.clone_from("/".join(redcoreRemote), - sisyphus.getfs.redcoreRepoDir, depth=1, branch=branch) + sisyphus.getfs.r_src_dir, depth=1, branch=branch) @animation.wait('injecting Redcore Linux portage config') @@ -63,9 +63,9 @@ def injectPortageConfigRepo(branch, remote): gentooRemote, redcoreRemote, portageConfigRemote = getBranchRemote( branch, remote) - if not os.path.isdir(os.path.join(sisyphus.getfs.portageConfigDir, '.git')): + if not os.path.isdir(os.path.join(sisyphus.getfs.p_cfg_dir, '.git')): git.Repo.clone_from("/".join(portageConfigRemote), - sisyphus.getfs.portageConfigDir, depth=1, branch=branch) + sisyphus.getfs.p_cfg_dir, depth=1, branch=branch) def giveWarning(branch, remote): -- cgit v1.2.3