Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLluis Sanchez <lluis@xamarin.com>2014-02-26 19:49:47 +0400
committerLluis Sanchez <lluis@xamarin.com>2014-02-26 19:49:47 +0400
commit8e27449b39a3b59b57842f06daec63f4ae552859 (patch)
tree912e6d4e037ee52913f512abb31798e9bb46f29a /configure
parentb8e292229d12a777ba8d4c551bbbad22303bd84c (diff)
parentda72d10ecc0768a313de68276932ebcd86978f04 (diff)
Merge remote-tracking branch 'origin/master' into fsharp
Conflicts: version-checks
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure8
1 files changed, 3 insertions, 5 deletions
diff --git a/configure b/configure
index 98dabd5280..e48c16c989 100755
--- a/configure
+++ b/configure
@@ -191,11 +191,9 @@ configure_packages ()
create_local_config ()
{
- # Get the version from configure.in, if it exists
- if test -a $path/configure.in; then
- ver=`grep AC_INIT $path/configure.in | cut -d "," -f 2 | sed "s/ //"`
- elif test -a $path/configure; then
- ver=`grep ^VERSION= $path/configure | cut -d "=" -f 2 | sed "s/ //"`
+ # Get the version from the version.config file, if it exists
+ if test -a version.config; then
+ ver=`grep ^Version version.config|cut -d '=' -f 2|tr -d '\n'`
else
ver=VERSION
fi