diff options
author | Daniel Narvaez <dwnarvaez@gmail.com> | 2012-11-24 14:56:30 (GMT) |
---|---|---|
committer | Daniel Narvaez <dwnarvaez@gmail.com> | 2012-11-24 14:57:37 (GMT) |
commit | 6da11532282ec2a481ad227088713140b8d6de0a (patch) | |
tree | 0ba8e2dc8e745b54d48786e8b1a54860e227d08c /commands | |
parent | 0f41ee61f493e46257acebd141aa0a9fe074adbe (diff) |
Add a target to generate relocatable snapshots
Diffstat (limited to 'commands')
-rw-r--r-- | commands/common.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/commands/common.py b/commands/common.py index a8b687c..9a6d5c0 100644 --- a/commands/common.py +++ b/commands/common.py @@ -12,7 +12,8 @@ from devbot import distro def setup(): config.set_config_dir(os.path.join(base_dir, "config")) - config.set_install_dir(os.path.join(base_dir, "install")) + config.set_install_dir(os.path.join(base_dir, "install"), + relocatable="SUGAR_BUILDBOT" in os.environ) config.set_source_dir(os.path.join(base_dir, "source")) config.set_build_dir(os.path.join(base_dir, "build")) config.set_commands_dir(os.path.join(base_dir, "commands")) |