Whamcloud - gitweb
cleanups:
[fs/lustre-release.git] / build / buildcvs
index aa6b66b..ce3459f 100644 (file)
@@ -3,9 +3,11 @@
 portalstag="HEAD"
 libsysiotag="LIBSYSIO_HEAD_20040809"
 
+export LC_COLLATE=C
+
 case "$lustretag" in
     '')
-        warn "a lustretag is required."
+       warn "a lustretag is required."
        usage >&2
        exit 1
        ;;
@@ -20,29 +22,57 @@ case "$lustretag" in
        portalstag="b1_2"
        ;;
 
-    b1_4_bgl)
-       portalstag="b1_4_bgl"
+    b_cmd*)
+       portalstag="$lustretag"
        ;;
 
-    b_cray)
-        libsysiotag="LIBSYSIO_HEAD_20041101"
-        ;;
+    b_cray*)
+       libsysiotag="LIBSYSIO_HEAD_20041101"
+       ;;
 
-    b_hd_sec)
-        portalstag="b_hd_sec"
-        ;;
+    b1_4_newconfig)    
+        portalstag="b_hd_newconfig"
+       ;;
 
     b_port_ahead)
-        portalstag="b_port_ahead"
+       portalstag="b_port_ahead"
        ;;
 
     b_port_netid)
-        portalstag="b_port_netid"
+       portalstag="b_port_netid"
        ;;
 
+    # b_port_step is only for portals
     b_port_step)
-        portalstag="b_port_step"
-        ;;
+       portalstag="b_port_step"
+       lustretag="HEAD"
+       ;;
+
+    b_port_test)
+       portalstag="b_port_test"
+       ;;
+
+    b_ptl_smallfix)
+       portalstag="b_ptl_smallfix"
+       lustretag="b1_4"
+       ;;
+
+    b_ptlrpc_cleanup)
+       portalstag="b_ptlrpc_cleanup"
+       ;;
+
+    b_release_*)
+       portalstag=$lustretag
+       ;;
+
+    v1_[0-3]*|v1_4_*|[A-Z]*)
+       portalstag="$lustretag"
+       ;;
+
+    v[1-9]*|cray_200[5-9]*)
+       portalstag="$lustretag"
+       libsysiotag="$lustretag"
+       ;;
 esac
 
 cvs_cmd libsysio libsysio "$libsysiotag"