[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"
- [lmi-commits] [lmi] master updated (47ec521 -> 1dae829), Greg Chicares, 2018/04/10
- [lmi-commits] [lmi] master 1fbce1a 1/5: For cloning lmi, try git's own protocol first,
Greg Chicares <=
- [lmi-commits] [lmi] master 6c81697 4/5: Prefer https to http, Greg Chicares, 2018/04/10
- [lmi-commits] [lmi] master 1dae829 5/5: Relocate VCS subdirectory, Greg Chicares, 2018/04/10
- [lmi-commits] [lmi] master 43c8e97 3/5: Upgrade to xmlwrapp 0.9.0, Greg Chicares, 2018/04/10
- [lmi-commits] [lmi] master 2539270 2/5: No longer restrict libjpeg-turbo or libtiff, Greg Chicares, 2018/04/10