summaryrefslogtreecommitdiff
path: root/src/frontend/gui/sisyphus-gui.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/frontend/gui/sisyphus-gui.py')
-rw-r--r--src/frontend/gui/sisyphus-gui.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/frontend/gui/sisyphus-gui.py b/src/frontend/gui/sisyphus-gui.py
index dd9eb15..be1332a 100644
--- a/src/frontend/gui/sisyphus-gui.py
+++ b/src/frontend/gui/sisyphus-gui.py
@@ -369,6 +369,7 @@ class MainWorker(QtCore.QObject):
pkgDeps = getPkgDeps(pkgList)
pkgBins = []
+ os.chdir(portageCache)
for index, url in enumerate([binhostURL + package + '.tbz2' for package in pkgDeps]):
self.strReady.emit(">>> Fetching" + " " + url)
print(">>> Fetching" + " " + url)
@@ -428,6 +429,7 @@ class MainWorker(QtCore.QObject):
worldDeps = getWorldDeps()
worldBins = []
+ os.chdir(portageCache)
for index, url in enumerate([binhostURL + package + '.tbz2' for package in worldDeps]):
self.strReady.emit(">>> Fetching" + " " + url)
print(">>> Fetching" + " " + url)