summaryrefslogtreecommitdiff
path: root/src/backend/sync.py
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-06-08 16:10:24 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-06-08 16:10:24 +0100
commitf587c2de87665b10e70b4143989572b19e43c08c (patch)
tree9d68aec0a5fa92d4f7a3a377b205a89610221a73 /src/backend/sync.py
parent1d30457b03e7906770ee40a774320121e80a4bfd (diff)
rename some constants to something more pretty
Diffstat (limited to 'src/backend/sync.py')
-rw-r--r--src/backend/sync.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/sync.py b/src/backend/sync.py
index 65afd2f..5d3ac23 100644
--- a/src/backend/sync.py
+++ b/src/backend/sync.py
@@ -5,7 +5,7 @@ import subprocess
import sisyphus.filesystem
def portage():
- os.chdir(sisyphus.filesystem.gentooEbuildDir)
+ os.chdir(sisyphus.filesystem.portageRepoDir)
localBranch = subprocess.check_output(['git', 'rev-parse', '--abbrev-ref', 'HEAD'])
remoteBranch = subprocess.check_output(['git', 'rev-parse', '--symbolic-full-name', '@{u}'])
@@ -15,7 +15,7 @@ def portage():
gitExecStage2.wait()
def overlay():
- os.chdir(sisyphus.filesystem.redcoreEbuildDir)
+ os.chdir(sisyphus.filesystem.redcoreRepoDir)
localBranch = subprocess.check_output(['git', 'rev-parse', '--abbrev-ref', 'HEAD'])
remoteBranch = subprocess.check_output(['git', 'rev-parse', '--symbolic-full-name', '@{u}'])