From 3db77ccf31b36c844e176abdb8ad50bd707bb19c Mon Sep 17 00:00:00 2001 From: arvidn Date: Wed, 4 Jan 2017 21:34:21 -0500 Subject: [PATCH] forward port autotool.sh fix --- autotool.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autotool.sh b/autotool.sh index 5aa0cac4c..5074b09d8 100755 --- a/autotool.sh +++ b/autotool.sh @@ -82,7 +82,7 @@ version_check() { echo $ECHO_N " testing $vc_checkprog... " $ECHO_C if $vc_checkprog --version < /dev/null > /dev/null 2>&1; then vc_actual_version=`$vc_checkprog --version | head -n 1 | \ - sed 's/^.*[ ]\([0-9.]*[a-z]*\).*$/\1/'` + sed 's/^[^0-9]*\([0-9.]*\).*$/\1/'` if compare_versions $vc_min_version $vc_actual_version; then echo "found $vc_actual_version" # set variables