Whamcloud - gitweb
Add b_cmd* to buildcvs to get correct portals version.
[fs/lustre-release.git] / build / buildcvs
index 8a6c7b7..2f68001 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
        ;;
@@ -16,11 +18,6 @@ case "$lustretag" in
 
     # this is the branch table
     # keep this list sorted alphabetically!
-    b_ptl_smallfix)
-        portalstag="b_ptl_smallfix"
-       lustretag="b1_4"
-       ;;
-
     b1_2)
        portalstag="b1_2"
        ;;
@@ -29,10 +26,18 @@ case "$lustretag" in
        portalstag="b1_4_bgl"
        ;;
 
+    b_cmd*)
+       portalstag="$lustretag"
+       ;;
+
     b_cray*)
        libsysiotag="LIBSYSIO_HEAD_20041101"
        ;;
 
+    b_hd_remote_uid)
+       portalstag="b_hd_sec"
+       ;;
+
     b_hd_sec)
        portalstag="b_hd_sec"
        ;;
@@ -45,8 +50,23 @@ case "$lustretag" in
        portalstag="b_port_netid"
        ;;
 
+    # b_port_step is only for portals
     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_release_*)
+       portalstag=$lustretag
        ;;
 
     v1_[0-3]*|v1_4_0*|[A-Z]*)