gst-autogen.sh: update version detection expression to catch stuff like

Original commit message from CVS:

* gst-autogen.sh:
update version detection expression to catch stuff like
Libtool (libtool15) 1.5.0
parent 37ed26e3
2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
* gst-autogen.sh:
update version detection expression to catch stuff like
Libtool (libtool15) 1.5.0
2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org> 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
* gst.supp: * gst.supp:
......
...@@ -67,7 +67,7 @@ version_check () ...@@ -67,7 +67,7 @@ version_check ()
continue continue
} }
# strip everything that's not a digit, then use cut to get the first field # strip everything that's not a digit, then use cut to get the first field
pkg_version=`$COMMAND --version|head -n 1|sed 's/^[^0-9]*//'|cut -d' ' -f1` pkg_version=`$COMMAND --version|head -n 1|sed 's/^.*)[^0-9]*//'|cut -d' ' -f1`
debug "pkg_version $pkg_version" debug "pkg_version $pkg_version"
# remove any non-digit characters from the version numbers to permit numeric # remove any non-digit characters from the version numbers to permit numeric
# comparison # comparison
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment