Whamcloud - gitweb
2f4730cf15eb5f64fedffc076a773631082dac47
[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 | b1_4_bgl | b1_4_quota)
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_acl)
38         portalstag="b_hd_sec"
39         ;;
40
41     b_hd_remote_acl)
42         portalstag="b_hd_sec"
43         ;;
44
45     b_hd_remote_uid)
46         portalstag="b_hd_sec"
47         ;;
48
49     b_hd_sec)
50         portalstag="b_hd_sec"
51         ;;
52
53     b_hd_sec_oss)
54         portalstag="b_hd_sec"
55         ;;
56
57     b_port_ahead)
58         portalstag="b_port_ahead"
59         ;;
60
61     b_port_netid)
62         portalstag="b_port_netid"
63         ;;
64
65     # b_port_step is only for portals
66     b_port_step)
67         portalstag="b_port_step"
68         lustretag="HEAD"
69         ;;
70
71     b_port_test)
72         portalstag="b_port_test"
73         ;;
74
75     b_ptl_smallfix)
76         portalstag="b_ptl_smallfix"
77         lustretag="b1_4"
78         ;;
79
80     b_release_*)
81         portalstag=$lustretag
82         ;;
83
84     v1_[0-3]*|v1_4_*|[A-Z]*)
85         portalstag="$lustretag"
86         ;;
87
88     v[1-9]*)
89         portalstag="$lustretag"
90         libsysiotag="$lustretag"
91         ;;
92 esac
93
94 cvs_cmd libsysio libsysio "$libsysiotag"
95 cvs_cmd portals portals "$portalstag"
96 cvs_cmd lustre lustre-core "$lustretag"