------------------------------------------------------------
revno: 2859
committer: Bo Thorsen <b...@askmonty.org>
branch nick: trunk-work
timestamp: Wed 2010-05-26 10:40:01 +0200
message:
  Fix short version number
modified:
  win/make_mariadb_win_dist


--
lp:maria/5.1
https://code.launchpad.net/~maria-captains/maria/5.1

Your team Maria developers is subscribed to branch lp:maria/5.1.
To unsubscribe from this branch go to 
https://code.launchpad.net/~maria-captains/maria/5.1/+edit-subscription
=== modified file 'win/make_mariadb_win_dist'
--- win/make_mariadb_win_dist	2010-05-25 14:56:35 +0000
+++ win/make_mariadb_win_dist	2010-05-26 08:40:01 +0000
@@ -25,14 +25,13 @@
   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

_______________________________________________
Mailing list: https://launchpad.net/~maria-developers
Post to     : maria-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~maria-developers
More help   : https://help.launchpad.net/ListHelp

Reply via email to