diff options
author | Stepan Kasal <kasal@ucw.cz> | 2005-08-17 11:51:39 +0000 |
---|---|---|
committer | James Henstridge <jamesh@src.gnome.org> | 2005-08-17 11:51:39 +0000 |
commit | 31c9a5dc170a0921a43ad4b6c994a3705361ffb0 (patch) | |
tree | b7ed33c3daa8128cba198462fe752fccad9e8167 | |
parent | 5016cc29238a7050d7c1b584e266d8cf1d3b19ab (diff) | |
download | shared-mime-info-31c9a5dc170a0921a43ad4b6c994a3705361ffb0.tar.gz |
Set $variable_VERSION to the actual version number of the tool.
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
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | macros2/gnome-autogen.sh | 5 |
2 files changed, 8 insertions, 2 deletions
@@ -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 diff --git a/macros2/gnome-autogen.sh b/macros2/gnome-autogen.sh index 420e6cf2..fb32eb82 100644 --- a/macros2/gnome-autogen.sh +++ b/macros2/gnome-autogen.sh @@ -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 |