From: adilger Date: Mon, 9 May 2005 06:02:39 +0000 (+0000) Subject: Don't fail if Tag is not found. X-Git-Tag: 1.4.10~1180 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=41b2f7e44a049eb86bc275c1d1df4e34d68c47a4;p=fs%2Flustre-release.git Don't fail if Tag is not found. --- diff --git a/build/cvsdiffclient b/build/cvsdiffclient index ed6b876..ee14ecc 100644 --- a/build/cvsdiffclient +++ b/build/cvsdiffclient @@ -25,7 +25,8 @@ if [ -f $TMP ]; then else [ -r CVS/Tag ] && TAG=CVS/Tag [ -z "$TAG" -a -r lustre/CVS/Tag ] && TAG=lustre/CVS/Tag - echo "CVS: Branch: `sed 's/^T//' $TAG`" >> $TMP + [ "$TAG" ] && BRANCH="`sed 's/^T//' $TAG`" || BRANCH="HEAD" + echo "CVS: Branch $BRANCH" >> $TMP fi echo "CVS: did you update the ChangeLog for a bug fix?" >> $TMP echo "CVS: did you update the hours spent in Bugzilla?" >> $TMP