Changeset 4111


Ignore:
Timestamp:
Mar 26, 2022, 12:35:12 AM (2 years ago)
Author:
fhourdin
Message:

Detail
Frzedho

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOL/script_install/install_lmdz.sh

    r4081 r4111  
    11#!/bin/bash
     2
     3#set -vx
    24
    35###########################################################################
     
    5153    \cp -f -p ~/LMDZ/pub/$1 .
    5254  else
    53     wget -nv http://www.lmd.jussieu.fr/~lmdz/pub/$1
     55    wget --no-check-certificate -nv http://www.lmd.jussieu.fr/~lmdz/pub/$1
    5456    save_pub_locally=0
    5557    if [ $save_pub_locally = 1 ] ; then # saving wget files on ~/LMDZ/pub
     
    6264#real=r4
    6365real=r8
     66
    6467
    6568#########################################################################
     
    552555   echo '##########################################################'
    553556   cd $MODEL
    554    myget src/modipsl_orc_cmip6.$version.tar.gz
     557   myget src/modipsl.$version.tar.gz
    555558   echo install_lmdz.sh wget_OK `date`
    556    gunzip modipsl_orc_cmip6.$version.tar.gz
    557    tar xvf modipsl_orc_cmip6.$version.tar
    558    \rm modipsl_orc_cmip6.$version.tar
     559   gunzip modipsl.$version.tar.gz
     560   tar xvf modipsl.$version.tar
     561   \rm modipsl.$version.tar
    559562fi
    560563
     
    900903cd ..
    901904### Adapt "bld.cfg" (add the shell):
    902 whereisthatshell=$(which ${use_shell})
    903 echo "bld::tool::SHELL   $whereisthatshell" >> bld.cfg
     905#whereisthatshell=$(which ${use_shell})
     906#echo "bld::tool::SHELL   $whereisthatshell" >> bld.cfg
    904907
    905908fi # of if [ "$pclinux" = 1 ]
     
    913916##################################################################
    914917
    915 
    916918set +e ; svn upgrade ; set -e
     919
    917920if [ "$svn" = "last" ] ; then svnopt="" ; else svnopt="-r $svn" ; fi
    918921if [ "$svn" != "" ] ; then
    919     svn info | grep -q 'http:'
     922    set +e ; svn info | grep -q 'http:'
    920923    if [ $? = 0 ] ; then
    921         svn switch --relocate http://svn.lmd.jussieu.fr/LMDZ https://svn.lmd.jussieu.fr/LMDZ
     924        svn switch --relocate http://svn.lmd.jussieu.fr/LMDZ https://svn.lmd.jussieu.fr/LMDZ
    922925    fi
    923926    svn update $svnopt
Note: See TracChangeset for help on using the changeset viewer.