summaryrefslogtreecommitdiffstats
path: root/release
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@dside.dyndns.org>2008-01-13 01:40:08 +0000
committerSuren A. Chilingaryan <csa@dside.dyndns.org>2008-01-13 01:40:08 +0000
commit6c692c9f6762f0490307294e098b7ce1a8d46611 (patch)
tree15b67c844bdfd57a2823034925c1c6fd637a93a2 /release
parent6c1ee4cb430e77b9e7a4d9d8a027b58186cb05e7 (diff)
downloadlibrcd-6c692c9f6762f0490307294e098b7ce1a8d46611.tar.gz
librcd-6c692c9f6762f0490307294e098b7ce1a8d46611.tar.bz2
librcd-6c692c9f6762f0490307294e098b7ce1a8d46611.tar.xz
librcd-6c692c9f6762f0490307294e098b7ce1a8d46611.zip
Portability fixes
- FreeBSD compability fixes of autoconfigure scripts by Ulrich Spoerlein
Diffstat (limited to 'release')
-rwxr-xr-xrelease4
1 files changed, 2 insertions, 2 deletions
diff --git a/release b/release
index b51819c..da4e340 100755
--- a/release
+++ b/release
@@ -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