From a3cadd3afaec7fce38077ab7518363e1f60cf35c Mon Sep 17 00:00:00 2001 From: Markus Lehtonen Date: Mon, 21 Jul 2014 11:51:24 +0300 Subject: [PATCH] bootstrap: fix loading of hooks Signed-off-by: Markus Lehtonen --- bootstrap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.34.1