Changeset 4542


Ignore:
Timestamp:
May 19, 2023, 12:04:34 PM (19 months ago)
Author:
asima
Message:

Add treatment of "rebuild" tool for IOIPSLv_2_2_5, for "ioipsl=1" (similar to rev 4508 for "ioipsl=0 and Jean-Zay")

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOL/script_install/install_lmdz.sh

    r4520 r4542  
    753753        fi
    754754        # Build IOIPSL tools (ie: "rebuild", if present)
     755          # For IOIPSLv_2_2_2, "rebuild" files are in IOIPSL/tools
     756        rebuild_dir=""
    755757        if [ -f $MODEL/modipsl/modeles/IOIPSL/tools/rebuild ] ; then
    756             cd $MODEL/modipsl/modeles/IOIPSL/tools
     758            rebuild_dir=$MODEL/modipsl/modeles/IOIPSL/tools
     759        elif [ -d $MODEL/modipsl/modeles/IOIPSL/rebuild ] ; then
     760              rebuild_dir=$MODEL/modipsl/modeles/IOIPSL/rebuild
     761        fi
     762        if [ $rebuild_dir != "" ] ; then
     763            cd $rebuild_dir     
    757764            # adapt Makefile & rebuild script if in bash
    758765            if [ "$use_shell" = "bash" ] ; then
Note: See TracChangeset for help on using the changeset viewer.