New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 11033 for NEMO/trunk/doc/manual_build.sh – NEMO

Ignore:
Timestamp:
2019-05-21T22:36:30+02:00 (5 years ago)
Author:
nicolasmartin
Message:

Modify the shell code in order to run as expected on different OS (Linux or MacOS)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/trunk/doc/manual_build.sh

    r11013 r11033  
    1616fi 
    1717 
    18 ## Avoid the use of shell builtin echo (for -e option) 
    19 alias echo='/bin/echo -e' 
    20  
    2118# Source shared functions 
    2219. tools/shr_func.sh 
     
    3128## Retrieve figures if not already there 
    3229if [ ! -d latex/figures ]; then 
    33    echo "Downloading of shared figures and logos\n" 
     30   printf "Downloading of shared figures and logos\n\n" 
    3431   svn co https://forge.ipsl.jussieu.fr/nemo/svn/utils/figures latex/figures > /dev/null 
    3532fi 
     
    4340 
    4441for model in $models; do 
    45    echo $model"\n" 
     42   echo $model 
    4643   clean $model; build $model 
    47    echo "\t"'¤ End of building run' 
    48    echo "\t\t"'The export should be available at root' 
    49    echo "\t\t"'If not check LaTeX log in ./latex/'$model'/main/'$model'_manual.log'"\n" 
     44   printf "\t¤ End of building run\n" 
     45   printf "\t  The export should be available at root\n" 
     46   printf "\t  If not check LaTeX log in ./latex/$model/main/${model}_manual.log\n" 
    5047done 
    5148 
Note: See TracChangeset for help on using the changeset viewer.