summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-05-24 13:33:00 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-05-24 13:33:00 +0200
commit2f29d61df504fc0dc3e33649251b5b402141ad52 (patch)
tree44c8a96232014644be3c3f558818637efc6e081a
parent5672f081719292fe91ce0774d8dc4b692d32cff1 (diff)
Update dist.sh to reflect new alpha/beta version format
-rwxr-xr-xdist.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/dist.sh b/dist.sh
index 26d1ec1..5200d66 100755
--- a/dist.sh
+++ b/dist.sh
@@ -43,7 +43,7 @@ function find_out_dir ()
wd=`pwd`
out_root=/tmp
src_root=$HOME/work/odb
-ver=`sed -e 's/^\(.*\)\.\(.*\)\..*$/\1.\2/' $src_root/odb/version`
+ver=`sed -e 's/^\([^.]*\)\.\([^.]*\)\..*$/\1.\2/' $src_root/odb/version`
test=n
rebuild=n