diff options
author | Georgy Redkozubov <georgy.redkozubov@linaro.org> | 2013-05-21 17:26:41 +0200 |
---|---|---|
committer | Milo Casagrande <milo@ubuntu.com> | 2013-05-21 17:26:41 +0200 |
commit | 46c933067f6efa5bf35f1e6c248b1d5db285d2e2 (patch) | |
tree | 8902cf62a68637672973bf57321becb40ee6ba23 | |
parent | f434d718ea14d361aba287250de63ba3104102ad (diff) |
Added script to update http alternates references.
-rw-r--r-- | scripts/update-http-alternates | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/update-http-alternates b/scripts/update-http-alternates new file mode 100644 index 0000000..eb8556c --- /dev/null +++ b/scripts/update-http-alternates @@ -0,0 +1,8 @@ +#!/bin/sh + +set -x + +for i in `find /opt/rhodecode/git_repos -wholename '*objects/info/alternates' -print`; +do + cat $i | sed 's/\/srv\/git.linaro.org\/git\//https:\/\/staging\.git\.linaro\.org\//' > `dirname $i`/http-alternates +done |