diff options
author | Daniel Silverstone <dsilvers@digital-scurf.org> | 2012-08-30 23:25:16 +0100 |
---|---|---|
committer | Daniel Silverstone <dsilvers@digital-scurf.org> | 2012-08-30 23:25:16 +0100 |
commit | c6c5f460dd51620c67d73d847f91ee592bcd1277 (patch) | |
tree | acf637bfd5f485b887c86260202d06f541529963 /bin/gitano-post-receive-hook.in | |
parent | 525388cf6ce5497ca7d4431a0446581fb43557e8 (diff) | |
download | gitano-c6c5f460dd51620c67d73d847f91ee592bcd1277.tar.gz |
GITANO: Update to remove repository_root from gitano-admin
Diffstat (limited to 'bin/gitano-post-receive-hook.in')
-rw-r--r-- | bin/gitano-post-receive-hook.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/gitano-post-receive-hook.in b/bin/gitano-post-receive-hook.in index 45a1b7e..96d5fb2 100644 --- a/bin/gitano-post-receive-hook.in +++ b/bin/gitano-post-receive-hook.in @@ -30,7 +30,7 @@ local project = luxio.getenv("GITANO_PROJECT") or "" local source = luxio.getenv("GITANO_SOURCE") or "ssh" -- Now load the administration data - +gitano.config.repo_path(repo_root) local admin_repo = gitano.git.repository.new((repo_root or "") .. "/gitano-admin.git") if not admin_repo then @@ -112,7 +112,7 @@ if repo.name == "gitano-admin" and updates[admin_repo.HEAD] then gitano.log.chat("All repositories updated where possible.") local proc = sp.spawn({ gitano.config.lib_bin_path() .. "/gitano-update-ssh", - config.global.repository_root + gitano.config.repo_path() }) local how, why = proc:wait() if how ~= "exit" or why ~= 0 then |