[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor-browser-bundle/maint-3.6] Allow the urls of git inputs to change without issue.
commit 7a3c07fc7311618dcfc6c1bb35655b1c9fec8c73
Author: Mike Perry <mikeperry-git@xxxxxxxxxxxxxx>
Date: Thu May 29 13:09:15 2014 -0700
Allow the urls of git inputs to change without issue.
---
gitian/fetch-inputs.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gitian/fetch-inputs.sh b/gitian/fetch-inputs.sh
index 37a4a47..fb2464a 100755
--- a/gitian/fetch-inputs.sh
+++ b/gitian/fetch-inputs.sh
@@ -90,7 +90,7 @@ update_git() {
if [ -d "$dir/.git" ];
then
- (cd "$dir" && git fetch origin && git fetch --tags origin)
+ (cd "$dir" && git remote set-url origin $url && git fetch origin && git fetch --tags origin)
else
if ! git clone "$url"; then
echo >&2 "Error: Cloning $url failed"
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits