Author: benm
Date: 2005-06-14 17:33:04 -0400 (Tue, 14 Jun 2005)
New Revision: 45994
Removed:
trunk/release/scripts/update-versions
Log:
this is no longer needed; we get the version number via configure.in now
Deleted: trunk/release/scripts/update-versions
===================================================================
--- trunk/release/scripts/update-versions 2005-06-14 21:30:18 UTC (rev
45993)
+++ trunk/release/scripts/update-versions 2005-06-14 21:33:04 UTC (rev
45994)
@@ -1,29 +0,0 @@
-#!/bin/sh
-
-if test x$1 = x; then
- echo usage is: update-versions root-dir VERSION
- exit 1
-fi
-
-if test x$1 = x; then
- echo usage is: update-versions root-dir VERSION
- exit 1
-fi
-
-root=$1
-version=$2
-if test ! -d $root/mono; then
- echo $root does not contain the directory mono
-fi
-if test ! -d $root/mcs; then
- echo $root does not contain the directory cs
-fi
-
-echo Updating versions in $root/mono and $root/mcs
-echo $root/mono/configure.in has been updated.
-perl -pi -e "s/AM_INIT_AUTOMAKE.*(mono,.*)/AM_INIT_AUTOMAKE(mono,$version)/"
$root/mono/configure.in
-
-for i in mcs/AssemblyInfo.cs ilasm/AssemblyInfo.cs; do
- echo $root/mcs/$i has been updated
- perl -pi -e "s/\[assembly: AssemblyVersion(".*")\]/\[assembly:
AssemblyVersion(\"$version\")\]/" $root/mcs/$i
-done
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches