diff options
author | Andy Wingo <wingo@pobox.com> | 2003-08-07 13:17:46 +0000 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2003-08-07 13:17:46 +0000 |
commit | 6757dae2885c2c09ad6db243c73946ef387bb044 (patch) | |
tree | 96d300155d13f0129c1ba5ab75ca855edd2e72a6 /gst-autogen.sh | |
parent | 6b0a313b93535f0df7956a01405ddb63a3d76b5a (diff) | |
download | gstreamer-common-6757dae2885c2c09ad6db243c73946ef387bb044.tar.gz |
version check that doesnt choke on new libtool
Original commit message from CVS:
version check that doesnt choke on new libtool
Diffstat (limited to 'gst-autogen.sh')
-rw-r--r-- | gst-autogen.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gst-autogen.sh b/gst-autogen.sh index a6094c8..61356c8 100644 --- a/gst-autogen.sh +++ b/gst-autogen.sh @@ -63,7 +63,7 @@ version_check () # the following line is carefully crafted sed magic # you don't want to mess with it #pkg_version=`$COMMAND --version|head -n 1|sed 's/^[a-zA-z\.\ ()]*//;s/ .*$//'` - pkg_version=`$COMMAND --version|head -n 1|sed 's/^.*) //'|sed 's/ (.*)//'` + pkg_version=`$COMMAND --version|head -n 1|sed 's/^[^0-9]*//'|cut -d' ' -f1` debug "pkg_version $pkg_version" # remove any non-digit characters from the version numbers to permit numeric # comparison |