From: bobijam Date: Fri, 25 Sep 2009 07:53:36 +0000 (+0000) Subject: Branch HEAD X-Git-Tag: v1_9_280~44 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=f81e102ba22b60cbe967731ddba0e2ff33e6e955;p=fs%2Flustre-release.git Branch HEAD './lustrecvs -r xxxxx' should checkout lustre root directory using tag xxxxx, while current lustrecvs will checkout lustre root directory using HEAD tag. --- diff --git a/lustrecvs b/lustrecvs index 86eb3cb..0cabc3d 100755 --- a/lustrecvs +++ b/lustrecvs @@ -25,6 +25,8 @@ Usage: $progname EOF } +[ "$1" = "-r" ] && shift + if [ -z "$LUSTRECVS_UPDATED" ] ; then echo "$progname: updating lustrecvs" @@ -39,8 +41,6 @@ if [ -z "$LUSTRECVS_UPDATED" ] ; then exec "$0" "$@" fi -[ "$1" = "-r" ] && shift - buildtag="HEAD" lustretag="$1" shift