Whamcloud - gitweb
Fix LC_COLLATE so that [A-Z] only matches upper-case letters.
[fs/lustre-release.git] / build / buildcvs
index 776656c..330111e 100644 (file)
@@ -3,6 +3,8 @@
 portalstag="HEAD"
 libsysiotag="LIBSYSIO_HEAD_20040809"
 
+export LC_COLLATE=C
+
 case "$lustretag" in
     '')
         warn "a lustretag is required."
@@ -16,6 +18,11 @@ 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"
        ;;
@@ -24,11 +31,39 @@ case "$lustretag" in
        portalstag="b1_4_bgl"
        ;;
 
-    b_port_step)
-        portalstag="b_port_step"
+    b_cray*)
+       libsysiotag="LIBSYSIO_HEAD_20041101"
        ;;
+
+    b_hd_sec)
+       portalstag="b_hd_sec"
+       ;;
+
+    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"
+       lustretag="HEAD"
+       ;;
+
+    b_port_test)
+       portalstag="b_port_test"
+       ;;
+
+    v1_[0-3]*|v1_4_0*|[A-Z]*)
+       portalstag="$lustretag"
+       ;;
+
+    v[1-9]*)
+       portalstag="$lustretag"
+       libsysiotag="$lustretag"
        ;;
 esac