summaryrefslogtreecommitdiffstats
path: root/release
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@dside.dyndns.org>2013-11-16 00:35:49 +0100
committerSuren A. Chilingaryan <csa@dside.dyndns.org>2013-11-16 00:35:49 +0100
commitf5dde7a5996d7034924916de6413cd1411d7a5fc (patch)
tree3a2d82fa882d3926440ab5b61e305418fcd63177 /release
parentb5c156f376d1cf3227c7a18a670bac62aa7f9622 (diff)
downloadlibrcc-f5dde7a5996d7034924916de6413cd1411d7a5fc.tar.gz
librcc-f5dde7a5996d7034924916de6413cd1411d7a5fc.tar.bz2
librcc-f5dde7a5996d7034924916de6413cd1411d7a5fc.tar.xz
librcc-f5dde7a5996d7034924916de6413cd1411d7a5fc.zip
Multiple fixes of build system
Diffstat (limited to 'release')
-rwxr-xr-xrelease4
1 files changed, 2 insertions, 2 deletions
diff --git a/release b/release
index b4c643a..70c4b53 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+)*)/) { print \\$1; } }"`
+cvs=`cat VERSION | perl -e "while (<STDIN>) { if (m/\d+\.\d+(.\d+)*.*(cvs|CVS|Cvs)/) { print 'cvs'; } }"`
if [ "$cvs" == "cvs" ]; then
rname="$NAME-`date +%y%m%d.%H`"
else