summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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