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