Whamcloud - gitweb
Add support for building with a specific CVS Tag. For versions before v1_4_1
[fs/lustre-release.git] / build / buildcvs
index dff2f2e..acd89ec 100644 (file)
@@ -1,7 +1,7 @@
 # This file is sourced by lustre/lustrecvs
 
 portalstag="HEAD"
-libsysiotag="LIBSYSIO_HEAD_20040607"
+libsysiotag="LIBSYSIO_HEAD_20040809"
 
 case "$lustretag" in
     '')
@@ -24,14 +24,34 @@ case "$lustretag" in
        portalstag="b1_4_bgl"
        ;;
 
-    b_newsysio | b_sec)
-        libsysiotag="LIBSYSIO_HEAD_20040809"
+    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"
        ;;
 
     b_port_step)
-        portalstag="b_port_step"
+       portalstag="b_port_step"
+       ;;
+
+    v1_[0-3]*|v1_4_0*|[A-Z]*)
+       portalstag="$lustretag"
        ;;
 
+    v[1-9]*)
+       portalstag="$lustretag"
+       libsysiotag="$lustretag"
+       ;;
 esac
 
 cvs_cmd libsysio libsysio "$libsysiotag"