Ignore:
Timestamp:
Dec 13, 2019, 8:43:53 AM (5 years ago)
Author:
emillour
Message:

Common dynamics:
Modify IOIPSL automatic installation script to use bash instead of (obsolete) ksh.
EM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.COMMON/ioipsl/install_ioipsl_gfortran-gcc.bash

    r2052 r2190  
    2323cd modipsl/util
    2424
     25# make all refs to ksh become refs to bash
     26for i in ins_m_prec model script_diff_model script_log_analyse script_recup_model
     27do
     28  sed -i -e s:'#!/bin/ksh':'#!/bin/bash':1 $i
     29done
    2530./model IOIPSL_PLUS
    2631
     
    3742## 3. build ioipsl:
    3843cd ../modeles/IOIPSL/src
     44# make all refs to ksh become refs to bash
     45for i in AA_make.ldef Makefile
     46do
     47  sed -i -e s:'/bin/ksh':'/bin/bash':1 $i
     48done
    3949make
    4050## Compile the rebuild tool:
    4151cd ../tools
     52for i in AA_make.ldef Makefile rebuild
     53do
     54  sed -i -e s:'/bin/ksh':'/bin/bash':1 $i
     55done
    4256make
    4357
Note: See TracChangeset for help on using the changeset viewer.