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
;;
portalstag="b1_2"
;;
- b1_4_bgl)
- portalstag="b1_4_bgl"
+ b_cmd*)
+ portalstag="$lustretag"
;;
- b_cray)
+ b_cray*)
libsysiotag="LIBSYSIO_HEAD_20041101"
;;
- b_hd_sec)
- portalstag="b_hd_sec"
- ;;
-
b_port_ahead)
portalstag="b_port_ahead"
;;
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]*)
+ v1_[0-3]*|v1_4_*|[A-Z]*)
portalstag="$lustretag"
;;
- v[1-9]*)
+ v[1-9]*|cray_200[5-9]*)
portalstag="$lustretag"
libsysiotag="$lustretag"
;;