Skip to content
Snippets Groups Projects
Commit 48647124 authored by jacob's avatar jacob
Browse files

- lustrecvs now updates and reexecs itself

 - set LC_COLLATE=C otherwise [a-z] and [A-Z] don't work how we expect
   them to
parent b3ba9b33
No related branches found
No related tags found
No related merge requests found
# This file is sourced by lustre/lustrecvs
set -vx
portalstag="HEAD"
libsysiotag="LIBSYSIO_HEAD_20040809"
......@@ -45,7 +44,7 @@ case "$lustretag" in
portalstag="b_port_step"
;;
v1_[0-3]*|v1_4_0*)
v1_[0-3]*|v1_4_0*|[A-Z]*)
portalstag="$lustretag"
;;
......
#!/bin/sh
LC_COLLATE="C"
progname="${0##*/}"
warn ()
......@@ -23,6 +24,12 @@ Usage: $progname lustretag
EOF
}
if [ -z "$LUSTRECVS_UPDATED" ] ; then
cvs up "$0" || fatal 1 "Error updating lustrecvs"
export LUSTRECVS_UPDATED=yes
exec "$0" "$@"
fi
buildtag="HEAD"
lustretag="$1"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment