You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by je...@apache.org on 2015/04/14 20:11:37 UTC
thrift git commit: THRIFT-3071 fix bootstrap.sh on MinGW Client:
Build process Patch: James E. King, III
Repository: thrift
Updated Branches:
refs/heads/master 1673adf94 -> a4fc440e5
THRIFT-3071 fix bootstrap.sh on MinGW
Client: Build process
Patch: James E. King, III <ji...@simplivity.com>
This closes #438
Project: http://git-wip-us.apache.org/repos/asf/thrift/repo
Commit: http://git-wip-us.apache.org/repos/asf/thrift/commit/a4fc440e
Tree: http://git-wip-us.apache.org/repos/asf/thrift/tree/a4fc440e
Diff: http://git-wip-us.apache.org/repos/asf/thrift/diff/a4fc440e
Branch: refs/heads/master
Commit: a4fc440e51970c8c5d745ac118ba4ffdfdbd2191
Parents: 1673adf
Author: Jens Geyer <je...@apache.org>
Authored: Tue Apr 14 20:11:24 2015 +0200
Committer: Jens Geyer <je...@apache.org>
Committed: Tue Apr 14 20:11:24 2015 +0200
----------------------------------------------------------------------
bootstrap.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/thrift/blob/a4fc440e/bootstrap.sh
----------------------------------------------------------------------
diff --git a/bootstrap.sh b/bootstrap.sh
index 1a161c8..52ecda4 100755
--- a/bootstrap.sh
+++ b/bootstrap.sh
@@ -40,7 +40,7 @@ fi
# we require automake 1.13 or later
# check must happen externally due to use of newer macro
-AUTOMAKE_VERSION=`automake --version | head -n1 | rev | sed -e 's/\s.*$//' | rev`
+AUTOMAKE_VERSION=`automake --version | grep automake | egrep -o '([0-9]{1,}\.)+[0-9]{1,}'`
if [ "$AUTOMAKE_VERSION" \< "1.13" ]; then
echo >&2 "automake version $AUTOMAKE_VERSION is too old (need 1.13 or later)"
exit 1