summaryrefslogtreecommitdiff
path: root/src/backend/getenv.py
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-03-09 20:28:31 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-03-09 20:28:31 +0000
commit3b26461f072cc897ee233d18a32f3b0f0ea83c23 (patch)
treeb7ec5da61fb00b68e376da5fe7ac87de2b0c2f07 /src/backend/getenv.py
parent7fc4f9f40d1f1a45164759d796da94c18aa1f51a (diff)
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
Diffstat (limited to 'src/backend/getenv.py')
-rw-r--r--src/backend/getenv.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/getenv.py b/src/backend/getenv.py
index 13b3831..42429f2 100644
--- a/src/backend/getenv.py
+++ b/src/backend/getenv.py
@@ -41,8 +41,8 @@ def csv_addr():
def sys_brch():
act_brch = None
- if os.path.isdir(os.path.join(sisyphus.getfs.gentooRepoDir, '.git')):
- os.chdir(sisyphus.getfs.gentooRepoDir)
+ if os.path.isdir(os.path.join(sisyphus.getfs.g_src_dir, '.git')):
+ os.chdir(sisyphus.getfs.g_src_dir)
lcl_brch = subprocess.check_output(
['git', 'rev-parse', '--abbrev-ref', 'HEAD'])