diff options
author | Daniel Narvaez <dwnarvaez@gmail.com> | 2012-11-16 15:17:10 (GMT) |
---|---|---|
committer | Daniel Narvaez <dwnarvaez@gmail.com> | 2012-11-16 15:17:10 (GMT) |
commit | 2cac32f92d73eb68d261dc01c0d34314401cf79f (patch) | |
tree | a60f963a8a56f9babe6f8b5b2c86e2a218d80a44 /devbot/config.py | |
parent | 267e9d4de8b5330025aaad788d676a09e17f49f4 (diff) |
Rework the autoinstall command
It now automatically listen on all the sugar trees
Diffstat (limited to 'devbot/config.py')
-rw-r--r-- | devbot/config.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/devbot/config.py b/devbot/config.py index bfcc966..3207584 100644 --- a/devbot/config.py +++ b/devbot/config.py @@ -60,6 +60,12 @@ def set_commands_dir(dir): global commands_dir commands_dir = dir +def get_module_source_dir(module): + return os.path.join(source_dir, module["name"]) + +def get_module_build_dir(module): + return os.path.join(build_dir, module["name"]) + def load_packages(): return _load_deps_json("packages-%s" % distro.get_system_version()) |