diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-10-25 23:09:04 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-10-25 23:09:04 +0100 |
commit | 344d58ae21bd0f5b260ef47547c4cef95ec9a23c (patch) | |
tree | 5e3950d6e4bcc85f0d01aedc1cc0707de4611771 /src/backend/checkEnvironment.py | |
parent | c672a93d709ec0cb7138034369d1f06af5ee0318 (diff) |
rename : portageRepo -> gentooRepo
Diffstat (limited to 'src/backend/checkEnvironment.py')
-rw-r--r-- | src/backend/checkEnvironment.py | 4 |
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': |