source: CONFIG/publications/ICOLMDZORINCA_CO2_Transport_GMD_2023/INCA/build_gcm @ 6610

Last change on this file since 6610 was 6610, checked in by acosce, 10 months ago

INCA used for ICOLMDZORINCA_CO2_Transport_GMD_2023

File size: 412 bytes
Line 
1#!/bin/bash
2
3job=1
4dirname="" #path to where the fcm command will be found
5if (( $# >= 1 )) ; then
6  dirname=$1
7  # check that "dirname" exists and is a directory
8  if [[ ! -d $dirname ]] ; then
9    echo "$0 error : $dirname is not a directory"
10    exit
11  fi
12  # add a trailing "/" to $dirname
13  dirname=${dirname}"/"
14  shift;
15fi
16
17# run "fcm build" command
18echo "${dirname}fcm build $*"
19${dirname}fcm build $*
20
21
Note: See TracBrowser for help on using the repository browser.