Whamcloud - gitweb
330111ecd1de0f046e4eb05396b555989c6917af
[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_port_ahead)
43         portalstag="b_port_ahead"
44         ;;
45
46     b_port_netid)
47         portalstag="b_port_netid"
48         ;;
49
50     # b_port_step is only for portals
51     b_port_step)
52         portalstag="b_port_step"
53         lustretag="HEAD"
54         ;;
55
56     b_port_test)
57         portalstag="b_port_test"
58         ;;
59
60     v1_[0-3]*|v1_4_0*|[A-Z]*)
61         portalstag="$lustretag"
62         ;;
63
64     v[1-9]*)
65         portalstag="$lustretag"
66         libsysiotag="$lustretag"
67         ;;
68 esac
69
70 cvs_cmd libsysio libsysio "$libsysiotag"
71 cvs_cmd portals portals "$portalstag"
72 cvs_cmd lustre lustre-core "$lustretag"