lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [lmi] master 1fbce1a 1/5: For cloning lmi, try git's own p


From: Greg Chicares
Subject: [lmi-commits] [lmi] master 1fbce1a 1/5: For cloning lmi, try git's own protocol first
Date: Tue, 10 Apr 2018 20:38:12 -0400 (EDT)

branch: master
commit 1fbce1acc63876c7565cbd857209963eb7fcfae5
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>

    For cloning lmi, try git's own protocol first
---
 install_msw.sh | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/install_msw.sh b/install_msw.sh
index b2cce17..ad1abea 100755
--- a/install_msw.sh
+++ b/install_msw.sh
@@ -126,13 +126,13 @@ cd /opt/lmi/src || print "Cannot cd"
 # 'git clone' will install a pristine working copy.
 mv lmi lmi-moved-"$stamp0"
 
-# Favor https over git's own protocol only because corporate firewalls
-# in lmi's target industry tend to block the latter. If even git's
-# https protocol is blocked, try Vadim's copy as a last resort.
-git clone https://git.savannah.nongnu.org/r/lmi.git \
+# Use git's own protocol wherever possible. In case that's blocked
+# by a corporate firewall, fall back on https. In case a firewall
+# inexplicably blocks the gnu.org domain, try Vadim's github clone
+# as a last resort.
+git clone git://git.savannah.nongnu.org/lmi.git \
+  || git clone https://git.savannah.nongnu.org/r/lmi.git \
   || git clone https://github.com/vadz/lmi.git
-# Use git's own wherever possible.
-# git clone git://git.savannah.nongnu.org/lmi.git
 
 cd /opt/lmi/src/lmi || print "Cannot cd"
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]