From: adilger Date: Wed, 18 Jun 2008 22:32:22 +0000 (+0000) Subject: Branch v1_6_5 X-Git-Tag: v1_9_50~362 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=2bfd954d6dc4f63f1c1169e2c467d7c62c489586;ds=sidebyside Branch v1_6_5 Update the top-level "lustre" module to the specified version/release tag so that it is not affected by later changes to the files (esp. Makefile.in). b=16008 i=rread --- diff --git a/lustrecvs b/lustrecvs index a76333e..8e4b509 100755 --- a/lustrecvs +++ b/lustrecvs @@ -27,7 +27,14 @@ EOF if [ -z "$LUSTRECVS_UPDATED" ] ; then echo "$progname: updating lustrecvs" - cvs up -l || fatal 1 "Error updating lustrecvs" + + # If checking out a specific tag, make sure all of the files here are also + # checked out with the same tag to avoid later changes breaking things. + case "$1" in + v*|b_release_*) TAG=$1 ;; + esac + + cvs update -l $TAG export LUSTRECVS_UPDATED=yes exec "$0" "$@" fi