diff options
Diffstat (limited to 'release')
-rwxr-xr-x | release | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -14,8 +14,8 @@ if [ ! -d $RDIR ]; then mkdir -p $RDIR fi -version=`cat VERSION | perl -e "while (<STDIN>) { if (m/(\d\.\d(.\d)?)/) { print \\$1; } }"` -cvs=`cat VERSION | perl -e "while (<STDIN>) { if (m/\d\.\d(.\d)?.*(cvs|CVS|Cvs)/) { print 'cvs'; } }"` +version=`cat VERSION | perl -e "while (<STDIN>) { if (m/(\d\.\d(.\d{1,2})?)/) { print \\$1; } }"` +cvs=`cat VERSION | perl -e "while (<STDIN>) { if (m/\d\.\d(.\d{1,2})?.*(cvs|CVS|Cvs)/) { print 'cvs'; } }"` if [ "$cvs" == "cvs" ]; then rname="$NAME-`date +%y%m%d.%H`" else |