Whamcloud - gitweb
to make b_hd_remote_uid portals based on b_hd_sec portals
[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     b_ptl_smallfix)
22         portalstag="b_ptl_smallfix"
23         lustretag="b1_4"
24         ;;
25
26     b1_2)
27         portalstag="b1_2"
28         ;;
29
30     b1_4_bgl)
31         portalstag="b1_4_bgl"
32         ;;
33
34     b_cray*)
35         libsysiotag="LIBSYSIO_HEAD_20041101"
36         ;;
37
38     b_hd_sec)
39         portalstag="b_hd_sec"
40         ;;
41
42     b_release_*)
43         portalstag=$lustretag
44         ;;
45
46     b_port_ahead)
47         portalstag="b_port_ahead"
48         ;;
49
50     b_port_netid)
51         portalstag="b_port_netid"
52         ;;
53
54     b_hd_remote_uid)
55         portalstag="b_hd_sec"
56         ;;
57     # b_port_step is only for portals
58     b_port_step)
59         portalstag="b_port_step"
60         lustretag="HEAD"
61         ;;
62
63     b_port_test)
64         portalstag="b_port_test"
65         ;;
66
67     v1_[0-3]*|v1_4_0*|[A-Z]*)
68         portalstag="$lustretag"
69         ;;
70
71     v[1-9]*)
72         portalstag="$lustretag"
73         libsysiotag="$lustretag"
74         ;;
75 esac
76
77 cvs_cmd libsysio libsysio "$libsysiotag"
78 cvs_cmd portals portals "$portalstag"
79 cvs_cmd lustre lustre-core "$lustretag"