diff options
author | Suren A. Chilingaryan <csa@dside.dyndns.org> | 2008-01-13 01:40:08 +0000 |
---|---|---|
committer | Suren A. Chilingaryan <csa@dside.dyndns.org> | 2008-01-13 01:40:08 +0000 |
commit | 6c692c9f6762f0490307294e098b7ce1a8d46611 (patch) | |
tree | 15b67c844bdfd57a2823034925c1c6fd637a93a2 /release | |
parent | 6c1ee4cb430e77b9e7a4d9d8a027b58186cb05e7 (diff) | |
download | librcd-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-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 |