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.
Fcopy_dir.sh in trunk/NEMOGCM/TOOLS/COMPILE – NEMO

source: trunk/NEMOGCM/TOOLS/COMPILE/Fcopy_dir.sh @ 4990

Last change on this file since 4990 was 4990, checked in by timgraham, 9 years ago

Merged branches/2014/dev_MERGE_2014 back onto the trunk as follows:

In the working copy of branch ran:
svn merge svn+ssh://forge.ipsl.jussieu.fr/ipsl/forge/projets/nemo/svn/trunk@HEAD
1 conflict in LIM_SRC_3/limdiahsb.F90
Resolved by keeping the version from dev_MERGE_2014 branch
and commited at r4989

In working copy run:
svn switch svn+ssh://forge.ipsl.jussieu.fr/ipsl/forge/projets/nemo/svn/trunk
to switch working copy

Run:
svn merge --reintegrate svn+ssh://forge.ipsl.jussieu.fr/ipsl/forge/projets/nemo/svn/branches/2014/dev_MERGE_2014
to merge the branch into the trunk - no conflicts at this stage.

  • Property svn:executable set to *
  • Property svn:keywords set to Id
File size: 711 bytes
Line 
1#!/bin/bash
2#set -x
3set -o posix
4#set -u
5#set -e
6#+
7#
8# ============
9# Fcopy_dir.sh
10# ============
11#
12# --------------------------
13# Copy a reference directory
14# --------------------------
15#
16# SYNOPSIS
17# ========
18#
19# ::
20#
21#  $ Fcopy_dir.sh
22#
23#
24# DESCRIPTION
25# ===========
26#
27#
28# When a reference configuration is set,
29# Copy NEMO sub-directories needed (OPA_SRC, TOP_SRC ...)
30#
31# EXAMPLES
32# ========
33#
34# ::
35#
36#  $ ./Fcopy_dir.sh ORCA2_LIM
37#
38#
39# TODO
40# ====
41#
42# option debug
43#
44#
45# EVOLUTIONS
46# ==========
47#
48# $Id$
49#
50#
51#
52#   * creation
53#
54#-
55
56declare -a ZTAB
57grep "$1 " ${CONFIG_DIR}/cfg.txt > ${CONFIG_DIR}/cfg.tmp
58read -a ZTAB < ${CONFIG_DIR}/cfg.tmp
59TAB=( ${ZTAB[@]:1} )
60\rm ${CONFIG_DIR}/cfg.tmp
61
62unset -v ZTAB
Note: See TracBrowser for help on using the repository browser.