diff options
author | Bo Thorsen <bo@askmonty.org> | 2010-05-26 10:40:01 +0200 |
---|---|---|
committer | Bo Thorsen <bo@askmonty.org> | 2010-05-26 10:40:01 +0200 |
commit | e6eab96555d8cf70cbe6c8a94956855a0b5eca43 (patch) | |
tree | 9ded062b5688a442cebbe766cf9da5553be08f1d /win | |
parent | d7f201ac7439388af3a8c13dd9addd16ffdd8512 (diff) | |
download | mariadb-git-e6eab96555d8cf70cbe6c8a94956855a0b5eca43.tar.gz |
Fix short version number
Diffstat (limited to 'win')
-rw-r--r-- | win/make_mariadb_win_dist | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/win/make_mariadb_win_dist b/win/make_mariadb_win_dist index 7fb508158df..e4cf611c0e3 100644 --- a/win/make_mariadb_win_dist +++ b/win/make_mariadb_win_dist @@ -25,14 +25,13 @@ if [ "x_$1" != "x_-nobuild" ]; then devenv.com MySQL.sln /build Debug fi -# TODO extract version number VER=`cat configure.in | perl -e 'while (<>) { if (/^AC_INIT\(\[[a-zA-Z ]*\], *\[([0-9a-zA-Z\.-]+)\]/) { print "$1\n"; exit(0)} } ; exit 1'` echo Version string: $VER. -# Remove '-maria-' from version number -VER_NO_MARIA=${VER/maria-/} +# Remove '-mariaDB' from version number +VER_NO_MARIA=${VER/-MariaDB/} # We want the final zip to be named like this: # mariadb-noinstall-5.1.38-win32.zip |