Ignore:
Timestamp:
Jul 20, 2022, 5:54:15 PM (2 years ago)
Author:
lguez
Message:

Bug fix: correct the name of NetCDF directory

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOL/script_install/install_lmdz_new.sh

    r4216 r4217  
    568568
    569569###########################################################################
    570 if [ $netcdf = 1 -a ! -d $MODEL/netcdf ] ; then
     570if [ $netcdf = 1 ] ; then
    571571    ###########################################################################
    572572    cd $MODEL
     
    576576    echo '##########################################################'
    577577    echo log file : $netcdflog
    578     if [ "$with_xios" = "n" ] ; then
     578    if [[ "$with_xios" = "n" && ! -d $MODEL/netcdf4_hdf5_seq ]] ; then
    579579        myget import/install_netcdf4_hdf5_seq.bash
    580580        chmod +x install_netcdf4_hdf5_seq.bash
     
    596596        # par certains compilateurs
    597597        if [ ! -e lib -a -d lib64 ] ; then ln -s lib64 lib; fi
    598     else
     598    elif [[ "$with_xios" = "y" && ! -d $MODEL/netcdf4_hdf5 ]]
     599    then
    599600        # download and compile hdf5 and netcdf, etc. using the
    600601        # install_netcdf4_hdf5.bash script
Note: See TracChangeset for help on using the changeset viewer.