diff options
author | Markus Lehtonen <markus.lehtonen@linux.intel.com> | 2014-07-21 11:51:24 +0300 |
---|---|---|
committer | Markus Lehtonen <markus.lehtonen@linux.intel.com> | 2014-07-21 11:55:32 +0300 |
commit | a3cadd3afaec7fce38077ab7518363e1f60cf35c (patch) | |
tree | 14f1a2dab72db13ae5c6b061bab22b9746937fb5 | |
parent | 30807ac16ff63a3084e4da60bd90b2c3b193ef24 (diff) |
bootstrap: fix loading of hooks
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
-rwxr-xr-x | bootstrap.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bootstrap.py b/bootstrap.py index e7f14a4..4ba61cf 100755 --- a/bootstrap.py +++ b/bootstrap.py @@ -132,7 +132,7 @@ def build_test_pkg(pkg_name, branch, outdir, silent_build=False): hook_py = git_cmd('show', ['%s:.bootstrap_hooks.py' % build_branch], True) LOG.info('Loading bootstrap hooks') - exec('.bootstrap_hooks.py', hooks, hooks) + exec(hook_py, hooks, hooks) except GitError: LOG.debug('No hooks found for %s', build_branch) tags = git_cmd('tag', ['-l', tag_pattern], True) |