Subversion Repositories lagranto.wrf

Rev

Rev 11 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 11 Rev 13
Line 4... Line 4...
4
# Set some general parameters
4
# Set some general parameters
5
# -----------------------------------------------------------------------------
5
# -----------------------------------------------------------------------------
6
 
6
 
7
# Usage
7
# Usage
8
if ( $#argv == 0 ) then
8
if ( $#argv == 0 ) then
9
  echo "install.sh [lib|core|goodies|links|all|clean] "
9
  echo "install.sh [lib|core|goodies|links|all|clean|tag] "
10
  exit 0
10
  exit 0
11
endif
11
endif
12
 
12
 
13
# Set the mode
13
# Set the mode
14
set mode = $1
14
set mode = $1
15
 
15
 
-
 
16
# Set path to SVN repository
-
 
17
set svnpath=https://svn.iac.ethz.ch/pub/lagranto.wrf/
-
 
18
 
16
# Set path for development
19
# Set path for development
17
set path_devel = "${DYN_TOOLS}/lagranto.wrf/"
20
set path_devel = "${DYN_TOOLS}/lagranto.wrf/"
18
set path_sync  = "${DYN_TOOLS}/lagranto/"
21
set path_sync  = "${DYN_TOOLS}/lagranto/"
19
 
22
 
20
# Init Fortran compiler and set netCDF acccordingly
23
# Init Fortran compiler and set netCDF acccordingly
Line 37... Line 40...
37
  exit 1
40
  exit 1
38
 
41
 
39
endif
42
endif
40
 
43
 
41
# -----------------------------------------------------------------------------
44
# -----------------------------------------------------------------------------
-
 
45
# Create a new tag in SVN repository
-
 
46
# -----------------------------------------------------------------------------
-
 
47
 
-
 
48
if ( "${mode}" == "tag" ) then
-
 
49
   svn info
-
 
50
   if ( "${#argv}" != 2 ) then
-
 
51
     echo "Usage: install.csh tag id <id=tag number>"
-
 
52
   else
-
 
53
     set tagnr = $2
-
 
54
   endif
-
 
55
   svn copy ${svnpath}/trunk ${svnpath}/tags/${tagnr} -m "Release ${tagnr}"
-
 
56
   exit 0
-
 
57
endif
-
 
58
 
-
 
59
# -----------------------------------------------------------------------------
42
# Set internal parameters and detailed installation mode
60
# Set internal parameters and detailed installation mode
43
# -----------------------------------------------------------------------------
61
# -----------------------------------------------------------------------------
44
 
62
 
45
# Set LAGRANTO environment variable
63
# Set LAGRANTO environment variable
46
setenv LAGRANTO ${path_devel}
64
setenv LAGRANTO ${path_devel}