From d0fad11eb674cc5aacbd02e6bc710b17c44a4f8c Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@uliege.be>
Date: Tue, 26 Jan 2021 14:26:23 +0100
Subject: [PATCH] https

---
 bundle_onelab.sh | 48 ++++++++++++++++++++++++------------------------
 1 file changed, 24 insertions(+), 24 deletions(-)

diff --git a/bundle_onelab.sh b/bundle_onelab.sh
index 02c036e..37bfe33 100755
--- a/bundle_onelab.sh
+++ b/bundle_onelab.sh
@@ -3,7 +3,7 @@
 DATE=`date "+%d/%m/%Y"`
 
 echo "This ONELAB bundle was built on ${DATE} with the latest builds of Gmsh
-(http://gmsh.info) and GetDP (http://getdp.info).
+(https://gmsh.info) and GetDP (https://getdp.info).
 
 To run your first simulation, launch Gmsh and open a GetDP .pro file
 (e.g. models/Magnetometer/magnetometer.pro) with the File/Open menu, then click
@@ -13,10 +13,10 @@ The software is distributed under the terms of the GNU General Public License.
 See the LICENSE and CREDITS files for more information.
 
 The 'tutorials' directory contains ONELAB tutorials. The 'models' directory
-contains a selection of other ready-to-use models from http://onelab.info. The
+contains a selection of other ready-to-use models from https://onelab.info. The
 'templates' directory contains generic model templates.
 
-See http://onelab.info for additional examples, up-to-date versions and
+See https://onelab.info for additional examples, up-to-date versions and
 documentation." > /tmp/README.txt
 
 GMSH=git
@@ -36,7 +36,7 @@ MODELS=`cat bundle_models.txt`
 rm -rf /tmp/models
 mkdir /tmp/models
 for m in ${MODELS}; do
-  curl -O http://onelab.info/files/${m}.zip
+  curl -O https://onelab.info/files/${m}.zip
   unzip -q -o ${m}.zip -d /tmp/models
   rm -f ${m}.zip
 done
@@ -46,19 +46,19 @@ mkdir /tmp/tutorials
 mkdir /tmp/tutorials/gmsh
 mkdir /tmp/tutorials/getdp
 for m in ${TUTO_GETDP}; do
-  curl -O http://onelab.info/files/${m}.zip
+  curl -O https://onelab.info/files/${m}.zip
   unzip -q -o ${m}.zip -d /tmp/tutorials/getdp
   rm -f ${m}.zip
 done
 mkdir /tmp/tutorials/python
 for m in ${TUTO_PYTHON}; do
-  curl -O http://onelab.info/files/${m}.zip
+  curl -O https://onelab.info/files/${m}.zip
   unzip -q -o ${m}.zip -d /tmp/tutorials/python
   rm -f ${m}.zip
 done
 mkdir /tmp/tutorials/c++
 for m in ${TUTO_CPP}; do
-  curl -O http://onelab.info/files/${m}.zip
+  curl -O https://onelab.info/files/${m}.zip
   unzip -q -o ${m}.zip -d /tmp/tutorials/c++
   rm -f ${m}.zip
 done
@@ -68,8 +68,8 @@ rm -rf /tmp/tutorials/optlab/.git
 if [ $# -lt 1 ] || [ $1 == "source" ]; then
   rm -rf onelab-source*
   mkdir onelab-source
-  curl -O http://gmsh.info/src/gmsh-${GMSH}-source.tgz
-  curl -O http://getdp.info/src/getdp-${GETDP}-source.tgz
+  curl -O https://gmsh.info/src/gmsh-${GMSH}-source.tgz
+  curl -O https://getdp.info/src/getdp-${GETDP}-source.tgz
   mv gmsh-${GMSH}-source.tgz /tmp
   mv getdp-${GETDP}-source.tgz /tmp
   tar zxvf /tmp/gmsh-${GMSH}-source.tgz -C /tmp
@@ -97,9 +97,9 @@ fi
 if [ $# -lt 1 ] || [ $1 == "win64" ]; then
   rm -rf onelab-Windows64*
   mkdir onelab-Windows64
-  curl -O http://gmsh.info/bin/Windows/gmsh-${GMSH}-Windows64.zip
-  curl -O http://getdp.info/bin/Windows/getdp-${GETDP}-Windows64c.zip
-  curl -O http://onelab.info/optlab/bin/optlab-${OPTLAB}-Windows64.zip
+  curl -O https://gmsh.info/bin/Windows/gmsh-${GMSH}-Windows64.zip
+  curl -O https://getdp.info/bin/Windows/getdp-${GETDP}-Windows64c.zip
+  curl -O https://onelab.info/optlab/bin/optlab-${OPTLAB}-Windows64.zip
   mv gmsh-${GMSH}-Windows64.zip /tmp
   mv getdp-${GETDP}-Windows64c.zip /tmp
   mv optlab-${OPTLAB}-Windows64.zip /tmp
@@ -134,9 +134,9 @@ fi
 if [ $# -lt 1 ] || [ $1 == "win32" ]; then
   rm -rf onelab-Windows32*
   mkdir onelab-Windows32
-  curl -O http://gmsh.info/bin/Windows/gmsh-${GMSH}-Windows32.zip
-  curl -O http://getdp.info/bin/Windows/getdp-${GETDP}-Windows32c.zip
-  curl -O http://onelab.info/optlab/bin/optlab-${OPTLAB}-Windows32.zip
+  curl -O https://gmsh.info/bin/Windows/gmsh-${GMSH}-Windows32.zip
+  curl -O https://getdp.info/bin/Windows/getdp-${GETDP}-Windows32c.zip
+  curl -O https://onelab.info/optlab/bin/optlab-${OPTLAB}-Windows32.zip
   mv gmsh-${GMSH}-Windows32.zip /tmp
   mv getdp-${GETDP}-Windows32c.zip /tmp
   mv optlab-${OPTLAB}-Windows32.zip /tmp
@@ -171,9 +171,9 @@ fi
 if [ $# -lt 1 ] || [ $1 == "linux64" ]; then
   rm -rf onelab-Linux64*
   mkdir onelab-Linux64
-  curl -O http://gmsh.info/bin/Linux/gmsh-${GMSH}-Linux64.tgz
-  curl -O http://getdp.info/bin/Linux/getdp-${GETDP}-Linux64c.tgz
-  curl -O http://onelab.info/optlab/bin/optlab-${OPTLAB}-Linux64.zip
+  curl -O https://gmsh.info/bin/Linux/gmsh-${GMSH}-Linux64.tgz
+  curl -O https://getdp.info/bin/Linux/getdp-${GETDP}-Linux64c.tgz
+  curl -O https://onelab.info/optlab/bin/optlab-${OPTLAB}-Linux64.zip
   mv gmsh-${GMSH}-Linux64.tgz /tmp
   mv getdp-${GETDP}-Linux64c.tgz /tmp
   mv optlab-${OPTLAB}-Linux64.zip /tmp
@@ -207,9 +207,9 @@ fi
 if [ $# -lt 1 ] || [ $1 == "linux32" ]; then
   rm -rf onelab-Linux32*
   mkdir onelab-Linux32
-  curl -O http://gmsh.info/bin/Linux/gmsh-${GMSH}-Linux32.tgz
-  curl -O http://getdp.info/bin/Linux/getdp-${GETDP}-Linux32c.tgz
-  curl -O http://onelab.info/optlab/bin/optlab-${OPTLAB}-Linux32.zip
+  curl -O https://gmsh.info/bin/Linux/gmsh-${GMSH}-Linux32.tgz
+  curl -O https://getdp.info/bin/Linux/getdp-${GETDP}-Linux32c.tgz
+  curl -O https://onelab.info/optlab/bin/optlab-${OPTLAB}-Linux32.zip
   mv gmsh-${GMSH}-Linux32.tgz /tmp
   mv getdp-${GETDP}-Linux32c.tgz /tmp
   mv optlab-${OPTLAB}-Linux32.zip /tmp
@@ -243,9 +243,9 @@ fi
 if [ $# -lt 1 ] || [ $1 == "mac" ]; then
   rm -rf onelab-MacOSX*
   mkdir onelab-MacOSX
-  curl -O http://gmsh.info/bin/MacOSX/gmsh-${GMSH}-MacOSX.dmg
-  curl -O http://getdp.info/bin/MacOSX/getdp-${GETDP}-MacOSXc.tgz
-  curl -O http://onelab.info/optlab/bin/optlab-${OPTLAB}-MacOSX.zip
+  curl -O https://gmsh.info/bin/MacOSX/gmsh-${GMSH}-MacOSX.dmg
+  curl -O https://getdp.info/bin/MacOSX/getdp-${GETDP}-MacOSXc.tgz
+  curl -O https://onelab.info/optlab/bin/optlab-${OPTLAB}-MacOSX.zip
   mv gmsh-${GMSH}-MacOSX.dmg /tmp
   mv getdp-${GETDP}-MacOSXc.tgz /tmp
   mv optlab-${OPTLAB}-MacOSX.zip /tmp
-- 
GitLab