[tbb-commits] [tor-browser-bundle/maint-3.6] Allow the urls of git inputs to change without issue.

mikeperry at torproject.org mikeperry at torproject.org
Thu Jun 5 16:47:33 UTC 2014


commit 7a3c07fc7311618dcfc6c1bb35655b1c9fec8c73
Author: Mike Perry <mikeperry-git at torproject.org>
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"





More information about the tbb-commits mailing list