diff options
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': |