From f81e102ba22b60cbe967731ddba0e2ff33e6e955 Mon Sep 17 00:00:00 2001 From: bobijam Date: Fri, 25 Sep 2009 07:53:36 +0000 Subject: [PATCH] Branch HEAD './lustrecvs -r xxxxx' should checkout lustre root directory using tag xxxxx, while current lustrecvs will checkout lustre root directory using HEAD tag. --- lustrecvs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 1.8.3.1