Whamcloud - gitweb
Add b_cmd* to buildcvs to get correct portals version.
[fs/lustre-release.git] / build / buildcvs
1 # This file is sourced by lustre/lustrecvs
2
3 portalstag="HEAD"
4 libsysiotag="LIBSYSIO_HEAD_20040809"
5
6 export LC_COLLATE=C
7
8 case "$lustretag" in
9     '')
10         warn "a lustretag is required."
11         usage >&2
12         exit 1
13         ;;
14     --help | -h)
15         usage
16         exit 0
17         ;;
18
19     # this is the branch table
20     # keep this list sorted alphabetically!
21     b1_2)
22         portalstag="b1_2"
23         ;;
24
25     b1_4_bgl)
26         portalstag="b1_4_bgl"
27         ;;
28
29     b_cmd*)
30         portalstag="$lustretag"
31         ;;
32
33     b_cray*)
34         libsysiotag="LIBSYSIO_HEAD_20041101"
35         ;;
36
37     b_hd_remote_uid)
38         portalstag="b_hd_sec"
39         ;;
40
41     b_hd_sec)
42         portalstag="b_hd_sec"
43         ;;
44
45     b_port_ahead)
46         portalstag="b_port_ahead"
47         ;;
48
49     b_port_netid)
50         portalstag="b_port_netid"
51         ;;
52
53     # b_port_step is only for portals
54     b_port_step)
55         portalstag="b_port_step"
56         lustretag="HEAD"
57         ;;
58
59     b_port_test)
60         portalstag="b_port_test"
61         ;;
62
63     b_ptl_smallfix)
64         portalstag="b_ptl_smallfix"
65         lustretag="b1_4"
66         ;;
67
68     b_release_*)
69         portalstag=$lustretag
70         ;;
71
72     v1_[0-3]*|v1_4_0*|[A-Z]*)
73         portalstag="$lustretag"
74         ;;
75
76     v[1-9]*)
77         portalstag="$lustretag"
78         libsysiotag="$lustretag"
79         ;;
80 esac
81
82 cvs_cmd libsysio libsysio "$libsysiotag"
83 cvs_cmd portals portals "$portalstag"
84 cvs_cmd lustre lustre-core "$lustretag"