aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMilo Casagrande <milo@ubuntu.com>2013-05-21 17:46:43 +0200
committerMilo Casagrande <milo@ubuntu.com>2013-05-21 17:46:43 +0200
commitec8a72204d5586eabf5f2240b4cff0198d4c6ef7 (patch)
tree305bcd12b7e2d3d3a051ee380c8e92a86a889c44
parent46c933067f6efa5bf35f1e6c248b1d5db285d2e2 (diff)
downloadrhodecode-config-ec8a72204d5586eabf5f2240b4cff0198d4c6ef7.tar.gz
Added alternates file fix.
-rw-r--r--scripts/update-http-alternates5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/update-http-alternates b/scripts/update-http-alternates
index eb8556c..c067e35 100644
--- a/scripts/update-http-alternates
+++ b/scripts/update-http-alternates
@@ -6,3 +6,8 @@ for i in `find /opt/rhodecode/git_repos -wholename '*objects/info/alternates' -p
do
cat $i | sed 's/\/srv\/git.linaro.org\/git\//https:\/\/staging\.git\.linaro\.org\//' > `dirname $i`/http-alternates
done
+
+for i in `find /opt/rhodecode/git_repos -wholename '*objects/info/alternates' -print`;
+do
+ sed -i 's/\/srv\/git.linaro.org\/git\//\/opt\/rhodecode\/git_repos\//' $i
+done