summaryrefslogtreecommitdiff
path: root/src/launcher.py
diff options
context:
space:
mode:
authorTomás Touceda <chiiph@leap.se>2013-03-29 19:12:55 -0300
committerTomás Touceda <chiiph@leap.se>2013-03-29 19:12:55 -0300
commitd0dbe3b65d479436d881f0af2d6d071044ec8ff2 (patch)
tree61f20b85c6ac3b421fa20b5e6c275275408b29cc /src/launcher.py
parentd8ec60d6d013fdd7e72861e823a908bc6c9a3704 (diff)
Set THANDY_HOME and properly copy files from the updates dir
Diffstat (limited to 'src/launcher.py')
-rw-r--r--src/launcher.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/launcher.py b/src/launcher.py
index 328c965..979f388 100644
--- a/src/launcher.py
+++ b/src/launcher.py
@@ -10,6 +10,9 @@ class Thandy(threading.Thread):
def run(self):
while True:
try:
+ os.environ["THANDY_HOME"] = os.path.join(os.getcwd(),
+ "config",
+ "thandy")
os.environ["THP_DB_ROOT"] = os.path.join(os.getcwd(),
"packages")
os.environ["THP_INSTALL_ROOT"] = os.path.join(os.getcwd(),