aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Doan <andy.doan@linaro.org>2015-04-16 10:33:04 -0500
committerAndy Doan <andy.doan@linaro.org>2015-04-16 10:33:04 -0500
commit5e22f20aa7ff36843c581d336d65423c39f6827c (patch)
tree918a709f759c5d5872c3aaa821e245e69898d855
parentb214243f682278cc7d729f04b2400027d9ddba76 (diff)
use full path to grok-manifest
Seeing an error in our cron job: Cloning into bare repository 'selinux.git'... sh: 1: grok-manifest: not found It seems /usr/local/bin isn't in the path when this is executed, so lets pass the full path to the grok-manifest script. Change-Id: I1c102749e60e8d87dcb2bff0c38db989c1ca497e
-rwxr-xr-xgit-gerrit-mirror2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-gerrit-mirror b/git-gerrit-mirror
index 8bbed93..4f003a5 100755
--- a/git-gerrit-mirror
+++ b/git-gerrit-mirror
@@ -255,7 +255,7 @@ def push_repos(host, git_repos, force=False):
def update_grok(manifest, repo_root, repo):
log.debug('updating grok manifest for %s', repo)
- cmd = 'grok-manifest -n -m %s -t %s -n %s' % (manifest, repo_root, repo)
+ cmd = '/usr/local/bin/grok-manifest -n -m %s -t %s -n %s' % (manifest, repo_root, repo)
cmd = 'cd %s; %s' % (repo_root, cmd)
run_command(cmd)