e.g. for beta releases.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10936
dc483132-0cff-0310-8789-
dd5450dbe970
+Thu Sep 24 20:05:33 1998 Tom Yu <tlyu@mit.edu>
+
+ * mkrel: Add fixes to deal with "tails" on release directories,
+ e.g. for beta releases.
+
Wed Feb 18 16:31:21 1998 Tom Yu <tlyu@mit.edu>
* send-pr/Makefile.in: Remove trialing slash from thisconfigdir.
relmajor=0
relminor=0
relpatch=0
+relhead=
+reltail=
reldate=`date +%Y%m%d`
case "$reldir" in
echo "release-dir may not contain whitespace."
exit 1
;;
+krb5-*.*.*-*)
+ release=`echo $reldir|sed -e 's/krb5-//'`
+ relhead=`echo $release|sed -e 's/-.*//'`
+ reltail=`echo $release|sed -e 's/.*-//'`
+ relmajor=`echo $relhead|awk -F. '{print $1}'`
+ relminor=`echo $relhead|awk -F. '{print $2}'`
+ relpatch=`echo $relhead|awk -F. '{print $3}'`
+ ;;
krb5-*.*.*)
release=`echo $reldir|sed -e 's/krb5-//'`
relmajor=`echo $release|awk -F. '{print $1}'`