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_extdir.sh in branches/2015/nemo_v3_6_STABLE/NEMOGCM/TOOLS/COMPILE – NEMO

source: branches/2015/nemo_v3_6_STABLE/NEMOGCM/TOOLS/COMPILE/Fcopy_extdir.sh @ 5550

Last change on this file since 5550 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 *
File size: 849 bytes
Line 
1#!/bin/bash
2#set -x
3set -o posix
4#set -u
5#set -e
6#+
7# ============
8# Fcopy_extdir.sh
9# ============
10# --------------------------
11# Copy a reference directory
12# --------------------------
13# SYNOPSIS
14# ========
15# ::
16#  $ Fcopy_extdir.sh
17# DESCRIPTION
18# ===========
19# When an unsupported configuration is requested,
20# Prepare sources for the NEMO sub-directories needed (OPA_SRC, TOP_SRC ...)
21# EXAMPLES
22# ========
23# ::
24#  $ ./Fcopy_extdir.sh ORCA2_LIM
25# TODO
26# ====
27# option debug
28# EVOLUTIONS
29# ==========
30# $Id: Fcopy_extdir.sh 3294 2012-01-28 16:44:18Z rblod $
31#   * creation
32#-
33grep "$1 " ${CONFIG_DIR}/uspcfg.txt > ${CONFIG_DIR}/cfg.tmp
34#
35LOCAL_REF=$(cat cfg.tmp | awk 'BEGIN {FS = "#" }{print $2}')
36TAB=$(cat cfg.tmp | awk 'BEGIN {FS = "#" }{print $3}')
37REMOTE_CTL=$(cat cfg.tmp | awk 'BEGIN {FS = "#" }{print $4}')
38#
39\rm ${CONFIG_DIR}/cfg.tmp
Note: See TracBrowser for help on using the repository browser.