summaryrefslogtreecommitdiff
path: root/src/launcher.py
diff options
context:
space:
mode:
authorTomás Touceda <chiiph@leap.se>2013-03-29 11:54:36 -0300
committerTomás Touceda <chiiph@leap.se>2013-03-29 11:54:36 -0300
commitd8ec60d6d013fdd7e72861e823a908bc6c9a3704 (patch)
tree73e5690546f95ae342759c6deea195545aba7cfc /src/launcher.py
parent1a39a8fa75494a05606312342d1cfa8d94035efa (diff)
Merge updates directory
Also, sets the env for thandy to work properly.
Diffstat (limited to 'src/launcher.py')
-rw-r--r--src/launcher.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/launcher.py b/src/launcher.py
index 61e2a7f..328c965 100644
--- a/src/launcher.py
+++ b/src/launcher.py
@@ -1,3 +1,4 @@
+import os
import time
import threading
@@ -9,8 +10,12 @@ class Thandy(threading.Thread):
def run(self):
while True:
try:
+ os.environ["THP_DB_ROOT"] = os.path.join(os.getcwd(),
+ "packages")
+ os.environ["THP_INSTALL_ROOT"] = os.path.join(os.getcwd(),
+ "updates")
args = [
- "--repo=/home/chiiph/Code/leap/repo/",
+ "--repo=/home/chiiph/Code/leap/repo/", # TODO:set as a URL
"--debug",
"--install",
"/bundleinfo/LEAPClient/"