summaryrefslogtreecommitdiff
path: root/src/backend/getenv.py
diff options
context:
space:
mode:
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'])