Set $variable_VERSION to the actual version number of the tool.
authorStepan Kasal <kasal@ucw.cz>
Wed, 17 Aug 2005 11:51:39 +0000 (11:51 +0000)
committerJames Henstridge <jamesh@src.gnome.org>
Wed, 17 Aug 2005 11:51:39 +0000 (11:51 +0000)
2005-08-17  Stepan Kasal  <kasal@ucw.cz>

* macros2/gnome-autogen.sh (version_check): Set $variable_VERSION
  to the actual version number of the tool.

svn path=/trunk/; revision=3604

ChangeLog
macros2/gnome-autogen.sh

index 246b506..61d34af 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-08-17  Stepan Kasal  <kasal@ucw.cz>
+
+       * macros2/gnome-autogen.sh (version_check): Set $variable_VERSION
+         to the actual version number of the tool.
+
 2005-08-17  James Henstridge  <james@jamesh.id.au>
 
        * macros2/gnome-autogen.sh: pass --force to gnome-doc-prepare to
index 420e6cf..fb32eb8 100644 (file)
@@ -91,8 +91,9 @@ version_check() {
                                sed 's/^.*[     ]\([0-9.]*[a-z]*\).*$/\1/'`
            if compare_versions $vc_min_version $vc_actual_version; then
                echo "found $vc_actual_version"
-               # set variable
-               eval "$vc_variable=$vc_checkprog"
+               # set variables
+               eval "$vc_variable=$vc_checkprog; \
+                       ${vc_variable}_VERSION=$vc_actual_version"
                vc_status=0
                break
            else