diff options
author | Lluis Sanchez <lluis@xamarin.com> | 2014-02-26 19:49:47 +0400 |
---|---|---|
committer | Lluis Sanchez <lluis@xamarin.com> | 2014-02-26 19:49:47 +0400 |
commit | 8e27449b39a3b59b57842f06daec63f4ae552859 (patch) | |
tree | 912e6d4e037ee52913f512abb31798e9bb46f29a /configure | |
parent | b8e292229d12a777ba8d4c551bbbad22303bd84c (diff) | |
parent | da72d10ecc0768a313de68276932ebcd86978f04 (diff) |
Merge remote-tracking branch 'origin/master' into fsharp
Conflicts:
version-checks
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -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 |