summaryrefslogtreecommitdiff
path: root/src/backend/checkEnvironment.py
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-10-25 23:09:04 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-10-25 23:09:04 +0100
commit344d58ae21bd0f5b260ef47547c4cef95ec9a23c (patch)
tree5e3950d6e4bcc85f0d01aedc1cc0707de4611771 /src/backend/checkEnvironment.py
parentc672a93d709ec0cb7138034369d1f06af5ee0318 (diff)
rename : portageRepo -> gentooRepo
Diffstat (limited to 'src/backend/checkEnvironment.py')
-rw-r--r--src/backend/checkEnvironment.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/checkEnvironment.py b/src/backend/checkEnvironment.py
index 5a43780..200be15 100644
--- a/src/backend/checkEnvironment.py
+++ b/src/backend/checkEnvironment.py
@@ -11,8 +11,8 @@ def root():
def branch():
activeBranch = None
- if os.path.isdir(os.path.join(sisyphus.getFilesystem.portageRepoDir, '.git')):
- os.chdir(sisyphus.getFilesystem.portageRepoDir)
+ if os.path.isdir(os.path.join(sisyphus.getFilesystem.gentooRepoDir, '.git')):
+ os.chdir(sisyphus.getFilesystem.gentooRepoDir)
localBranch = subprocess.check_output(['git', 'rev-parse', '--abbrev-ref', 'HEAD'])
if localBranch.decode().strip() == 'master':